forked from mirrors/nixpkgs
chia: fix farming with a pool by fetching submodules
https://github.com/NixOS/nixpkgs/issues/131809
This commit is contained in:
parent
c8a731593b
commit
3f6650ddb1
1 changed files with 5 additions and 1 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue