python3Packages.chia-rs: fix build
This commit is contained in:
parent
6d0a0fda79
commit
4469b2ad1a
937
pkgs/development/python-modules/chia-rs/Cargo.lock
generated
937
pkgs/development/python-modules/chia-rs/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -16,6 +16,11 @@ buildPythonPackage rec {
|
||||||
sha256 = "sha256-WIt7yGceILzVhegluiSb7w3F9qQvI5DjulheGsJrcf8=";
|
sha256 = "sha256-WIt7yGceILzVhegluiSb7w3F9qQvI5DjulheGsJrcf8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# undo a hack from upstream that confuses our build hook
|
||||||
|
./fix-build.patch
|
||||||
|
];
|
||||||
|
|
||||||
cargoDeps = rustPlatform.importCargoLock {
|
cargoDeps = rustPlatform.importCargoLock {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
};
|
};
|
||||||
|
|
12
pkgs/development/python-modules/chia-rs/fix-build.patch
Normal file
12
pkgs/development/python-modules/chia-rs/fix-build.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- a/Cargo.toml
|
||||||
|
+++ b/Cargo.toml
|
||||||
|
@@ -1,8 +1,5 @@
|
||||||
|
-# the "wheel" crate is excluded from the workspace because pyo3 has problems with
|
||||||
|
-# "cargo test" and "cargo bench"
|
||||||
|
[workspace]
|
||||||
|
-members = ["wasm", "chia_streamable_macro", "chia-bls", "clvm-utils", "chia-protocol", "chia_py_streamable_macro"]
|
||||||
|
-exclude = ["wheel"]
|
||||||
|
+members = ["wasm", "wheel", "chia_streamable_macro", "chia-bls", "clvm-utils", "chia-protocol", "chia_py_streamable_macro"]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "chia"
|
Loading…
Reference in a new issue