Merge pull request #131824 from lourkeur/chia

chia: fix farming with a pool
This commit is contained in:
Sandro 2021-08-03 10:16:01 +00:00 committed by GitHub
commit f88e522416
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = ''