diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-09-12 15:42:03 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-09-12 15:42:03 +0200 |
commit | 9177f704bd01568f975f7ca18e2d2595a3ffe9ca (patch) | |
tree | d4704e014d45e724d53dd6f69c96c0b08eca39de /pkgs/applications/blockchains/chia | |
parent | 1b5b70a373790fc2aa0b3afe640ad336bfae07ad (diff) |
chia: relax all version constraints
Diffstat (limited to 'pkgs/applications/blockchains/chia')
-rw-r--r-- | pkgs/applications/blockchains/chia/default.nix | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/pkgs/applications/blockchains/chia/default.nix b/pkgs/applications/blockchains/chia/default.nix index 4c596be9f4c8e..4d3c4aabdfb09 100644 --- a/pkgs/applications/blockchains/chia/default.nix +++ b/pkgs/applications/blockchains/chia/default.nix @@ -26,6 +26,13 @@ let chia = python3Packages.buildPythonApplication rec { }) ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "==" ">=" + + ln -sf ${cacert}/etc/ssl/certs/ca-bundle.crt mozilla-ca/cacert.pem + ''; + nativeBuildInputs = [ python3Packages.setuptools-scm ]; @@ -75,17 +82,6 @@ let chia = python3Packages.buildPythonApplication rec { "test_using_legacy_keyring" ]; - postPatch = '' - # tweak version requirements to what's available in Nixpkgs - substituteInPlace setup.py \ - --replace "aiohttp==3.7.4" "aiohttp>=3.7.4" \ - --replace "sortedcontainers==2.3.0" "sortedcontainers>=2.3.0" \ - --replace "click==7.1.2" "click>=7.1.2" \ - --replace "clvm==0.9.7" "clvm>=0.9.7" \ - - ln -sf ${cacert}/etc/ssl/certs/ca-bundle.crt mozilla-ca/cacert.pem - ''; - preCheck = '' export HOME=`mktemp -d` ''; |