fix python packages for nixos 23.05
This commit is contained in:
parent
e31cc686f2
commit
bb2e88cec2
9 changed files with 117 additions and 183 deletions
|
|
@ -42,7 +42,7 @@ let
|
|||
description = "Lightning node exporter for the prometheus timeseries server";
|
||||
extraPkgs = [ prometheus_client ];
|
||||
patchRequirements =
|
||||
"--replace prometheus-client==0.6.0 prometheus-client==0.15.0"
|
||||
"--replace prometheus-client==0.6.0 prometheus-client==0.16.0"
|
||||
+ " --replace pyln-client~=0.9.3 pyln-client~=23.02";
|
||||
};
|
||||
rebalance = {
|
||||
|
|
@ -79,7 +79,7 @@ let
|
|||
|
||||
# Check that requirements are met
|
||||
PYTHONPATH='${toString python}/${python.sitePackages}' \
|
||||
${pkgs.python3Packages.pip}/bin/pip install -r requirements.txt --no-cache --no-index
|
||||
${pkgs.python3Packages.pip}/bin/pip install -r requirements.txt --no-cache --no-index --break-system-packages
|
||||
|
||||
chmod +x '${script}'
|
||||
patchShebangs '${script}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue