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,4 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, cacert
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, python3Packages
|
, python3Packages
|
||||||
|
@ -12,7 +13,8 @@ python3Packages.buildPythonApplication rec {
|
||||||
owner = "Chia-Network";
|
owner = "Chia-Network";
|
||||||
repo = "chia-blockchain";
|
repo = "chia-blockchain";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-yS0/Fy2dj8VIbwv2J9sehP0VN0f/YDxu1k9WkaeEz8M=";
|
fetchSubmodules = true;
|
||||||
|
sha256 = "sha256-nK/Zk2zgIdrRtw3+VkUXQWfI9j29XFDOR95Dvbn07eA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -73,6 +75,8 @@ python3Packages.buildPythonApplication rec {
|
||||||
--replace "clvm_rs==0.1.8" "clvm_rs>=0.1.8" \
|
--replace "clvm_rs==0.1.8" "clvm_rs>=0.1.8" \
|
||||||
--replace "clvm==0.9.7" "clvm>=0.9.7" \
|
--replace "clvm==0.9.7" "clvm>=0.9.7" \
|
||||||
--replace "bitstring==3.1.7" "bitstring>=3.1.9" \
|
--replace "bitstring==3.1.7" "bitstring>=3.1.9" \
|
||||||
|
|
||||||
|
ln -sf ${cacert}/etc/ssl/certs/ca-bundle.crt mozilla-ca/cacert.pem
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
|
Loading…
Reference in a new issue