Git Product home page Git Product logo

Comments (8)

haizaar avatar haizaar commented on June 11, 2024 2

with 0.4.0-devel3 it works fine!!
image

While we are waiting for PR to be merged, here is how to pull in the new ble.sh:

  1. Put the following somewhere you can include it from. E.g. /etc/nixos/apps/blesh.nix
{ config, pkgs, ... }:

# ble.sh 0.4.0-devel3 while we are waiting for the PR:
# https://github.com/NixOS/nixpkgs/pull/226852
# Here's why: https://github.com/akinomyoga/ble.sh/issues/343

let 

  bleshPin = import (pkgs.fetchFromGitHub {
    owner = "r-ryantm";
    repo = "nixpkgs";
    rev = "4390703db3908660d64a7b708a615a13130d3614";
    sha256 = "sha256-jYK3T6M0lz3I1+OYY6Vmzv6FF+8q44ACrIzqD0nD6bc=";
  }) {};

in {
  environment.systemPackages = [ bleshPin.blesh ];
}
  1. Add it to the import list in your configuration.nix

@akinomyoga thank you for your quick help!

from ble.sh.

akinomyoga avatar akinomyoga commented on June 11, 2024 1

Hello, that is just because ble-0.3 doesn't support 24-bit colors. You need to use the latest version, ble-0.4.

from ble.sh.

akinomyoga avatar akinomyoga commented on June 11, 2024

Let me comment on a bit more context. Somehow, blesh in nixpkgs has been downgraded from 0.4 to 0.3 by NixOS/nixpkgs#224617. Then, another PR NixOS/nixpkgs#226852 trying to fix it has been made, but it is left unprocessed for some reason. I don't think nixpkgs is properly functioning. There are so many packages unprocessed and left broken.

from ble.sh.

haizaar avatar haizaar commented on June 11, 2024

Thanks for elaborating! I'll try to nudge the maintainer to merge it.

from ble.sh.

akinomyoga avatar akinomyoga commented on June 11, 2024

Ah, OK. I also wrote a comment there without noticing your comment. Anyway, thank you for leaving a comment there! By the way, I'm afraid that the package maintainer @aiotter doesn't have permission to merge the PR. Maybe we need to ping any maintainer of nixpkgs itself.

from ble.sh.

haizaar avatar haizaar commented on June 11, 2024

yeap. blesh resides inside bash in the nixpkg tree, so I pinged bash maintainer. Let's see.

from ble.sh.

haizaar avatar haizaar commented on June 11, 2024

All in all, I managed to find someone to merge the PR. Thanks again for quick response here!

P.S. Have you considered setting up GH sponsorship for this repo? I'd love to buy you a coffee.

from ble.sh.

akinomyoga avatar akinomyoga commented on June 11, 2024

Thank you!

P.S. Have you considered setting up GH sponsorship for this repo? I'd love to buy you a coffee.

No, I haven't. Thanks anyway, but I appreciate your thought!

from ble.sh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.