treewide: use substituteInPlace --replace-fail
Now substitution failures result in a script error. This has recently been backported to nixpkgs 23.11.
This commit is contained in:
+1
-1
@@ -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"
|
||||
'';
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user