3
0
Fork 0
forked from mirrors/nixpkgs

fetchpatch: allow callers to specify postFetch sensibly

Before this fix, it seemed to be trying to merge our postFetch with the
patch normalization logic, but accidentally clobbering the whole thing
with the passed-in value.
This commit is contained in:
Dan Peebles 2017-10-03 12:48:30 -04:00
parent b465d9c1ff
commit dd8a42a224

View file

@ -27,4 +27,4 @@ fetchurl ({
"$tmpfile" > "$out"
${args.postFetch or ""}
'';
} // builtins.removeAttrs args ["stripLen" "addPrefixes" "excludes"])
} // builtins.removeAttrs args ["stripLen" "addPrefixes" "excludes" "postFetch"])