diff options
author | Louis Bettens <louis@bettens.info> | 2021-07-28 14:42:33 +0200 |
---|---|---|
committer | Louis Bettens <louis@bettens.info> | 2021-08-02 12:24:11 +0200 |
commit | 3f6650ddb11102b368611c32da70a2831d74e85d (patch) | |
tree | 5744cfd55708847727c812dd2387865c3ccff7cb /pkgs/applications/blockchains/chia/default.nix | |
parent | c8a731593bf5ae9287fae604f8bda8b93dc1d3a1 (diff) | |
download | nixpkgs-3f6650ddb11102b368611c32da70a2831d74e85d.tar nixpkgs-3f6650ddb11102b368611c32da70a2831d74e85d.tar.gz nixpkgs-3f6650ddb11102b368611c32da70a2831d74e85d.tar.bz2 nixpkgs-3f6650ddb11102b368611c32da70a2831d74e85d.tar.lz nixpkgs-3f6650ddb11102b368611c32da70a2831d74e85d.tar.xz nixpkgs-3f6650ddb11102b368611c32da70a2831d74e85d.tar.zst nixpkgs-3f6650ddb11102b368611c32da70a2831d74e85d.zip |
chia: fix farming with a pool by fetching submodules
https://github.com/NixOS/nixpkgs/issues/131809
Diffstat (limited to 'pkgs/applications/blockchains/chia/default.nix')
-rw-r--r-- | pkgs/applications/blockchains/chia/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/blockchains/chia/default.nix b/pkgs/applications/blockchains/chia/default.nix index d0ecdc4f72a..7e44fc80dc3 100644 --- a/pkgs/applications/blockchains/chia/default.nix +++ b/pkgs/applications/blockchains/chia/default.nix @@ -1,4 +1,5 @@ { lib +, cacert , fetchFromGitHub , fetchpatch , python3Packages @@ -12,7 +13,8 @@ python3Packages.buildPythonApplication rec { owner = "Chia-Network"; repo = "chia-blockchain"; rev = version; - sha256 = "sha256-yS0/Fy2dj8VIbwv2J9sehP0VN0f/YDxu1k9WkaeEz8M="; + fetchSubmodules = true; + sha256 = "sha256-nK/Zk2zgIdrRtw3+VkUXQWfI9j29XFDOR95Dvbn07eA="; }; patches = [ @@ -73,6 +75,8 @@ python3Packages.buildPythonApplication rec { --replace "clvm_rs==0.1.8" "clvm_rs>=0.1.8" \ --replace "clvm==0.9.7" "clvm>=0.9.7" \ --replace "bitstring==3.1.7" "bitstring>=3.1.9" \ + + ln -sf ${cacert}/etc/ssl/certs/ca-bundle.crt mozilla-ca/cacert.pem ''; preCheck = '' |