mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 22:33:46 +03:00
Merge fort-nix/nix-bitcoin#703: treewide: use substituteInPlace --replace-fail
44addcb5aa
treewide: use `substituteInPlace --replace-fail` (Erik Arvstedt) Pull request description: ACKs for top commit: jonasnick: ACK44addcb5aa
Tree-SHA512: ef5677ed38f253c3db88f149d2bf996773d81fedb1592a878060ee5384fe332efda907e710737053201e60d7151161379b9b974f57b6d51237f648e95b061381
This commit is contained in:
commit
84b8b1ffe9
@ -14,7 +14,7 @@ buildPythonPackageWithDepsCheck rec {
|
||||
patchPhase = ''
|
||||
for path in core/secp256k1.py tests/test_load_secp256k1.py; do
|
||||
substituteInPlace "bitcointx/$path" \
|
||||
--replace "ctypes.util.find_library('secp256k1')" "'${secp256k1}/lib/libsecp256k1.so'"
|
||||
--replace-fail "ctypes.util.find_library('secp256k1')" "'${secp256k1}/lib/libsecp256k1.so'"
|
||||
done
|
||||
'';
|
||||
|
||||
|
@ -271,7 +271,7 @@ let
|
||||
clightning = super.clightning.overrideAttrs (old: {
|
||||
postPatch = old.postPatch + ''
|
||||
substituteInPlace lightningd/plugin.c \
|
||||
--replace "#define PLUGIN_MANIFEST_TIMEOUT 60" "#define PLUGIN_MANIFEST_TIMEOUT 200"
|
||||
--replace-fail "#define PLUGIN_MANIFEST_TIMEOUT 60" "#define PLUGIN_MANIFEST_TIMEOUT 200"
|
||||
'';
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user