nix-bitcoin icon indicating copy to clipboard operation
nix-bitcoin copied to clipboard

0.0.104: clightning-plugin-prometheus dependency error during build

Open HaosGames opened this issue 11 months ago • 2 comments

I get the following error with 0.0.104 during build

clightning-plugin-prometheus-ce078bb> Requirement already satisfied: prometheus-client==0.17.1 in /nix/store/20rjk5h38p104jm9qmc4gi8hyaq40xl3-python3-3.11.6-env/lib/python3.11/site-packages (from -r requirements.txt (line 1)) (0.17.1)
clightning-plugin-prometheus-ce078bb> ERROR: Could not find a version that satisfies the requirement pyln-client~=24.02 (from versions: none)
clightning-plugin-prometheus-ce078bb> ERROR: No matching distribution found for pyln-client~=24.02
clightning-plugin-prometheus-ce078bb> 
error: builder for '/nix/store/ajrq71h8gzii8yv03ybhfkg8m6q8vdmq-clightning-plugin-prometheus-ce078bb.drv' failed with exit code 1;
       last 4 log lines:
       > Requirement already satisfied: prometheus-client==0.17.1 in /nix/store/20rjk5h38p104jm9qmc4gi8hyaq40xl3-python3-3.11.6-env/lib/python3.11/site-packages (from -r requirements.txt (line 1)) (0.17.1)
       > ERROR: Could not find a version that satisfies the requirement pyln-client~=24.02 (from versions: none)
       > ERROR: No matching distribution found for pyln-client~=24.02
       > 
       For full logs, run 'nix log /nix/store/ajrq71h8gzii8yv03ybhfkg8m6q8vdmq-clightning-plugin-prometheus-ce078bb.drv'.
error: 1 dependencies of derivation '/nix/store/ydqvmb2h4yxiyy35sggnbhrpvnilhdww-config.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sxilqvrkhycxfbvf1i6wc6bh34d105gi-unit-script-clightning-pre-start.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5isb81fd09kc4akw3wi3m13cvblzb5yq-unit-clightning.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/29idw6grb8sp67fibpcxqm9xjmpjbp19-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vw32yfrw2rhl2cn73xk2gs8bpllcn6gl-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cvq09fbk2vcdf4xdk5bipd4rv8628s5l-nixos-system-benno-23.11.20240207.6832d0d.drv' failed to build

HaosGames avatar Mar 06 '24 08:03 HaosGames

I can't reproduce this. Do you use a custom version of clightning?

jonasnick avatar Mar 07 '24 08:03 jonasnick

No, no custom clightning version. I am also using the locked nixpkgs version by nix-bitcoin to build the whole system. And I obviously have the prometheus clightning plugin enabled.

HaosGames avatar Mar 07 '24 09:03 HaosGames

Fixed it. This was totally my mistake. When using nix-bitcoin as a flake input to update I not only have to update the tag in flake.nix but also have to nix flake update nix-bitcoin to update the nixpkgs versions nix-bitcoin uses in it's own flake.

HaosGames avatar Mar 17 '24 10:03 HaosGames