Skip to content

Commit

Permalink
fetchpatch: allow callers to specify postFetch sensibly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
copumpkin committed Oct 3, 2017
1 parent b465d9c commit dd8a42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/build-support/fetchpatch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ fetchurl ({
"$tmpfile" > "$out"
${args.postFetch or ""}
'';
} // builtins.removeAttrs args ["stripLen" "addPrefixes" "excludes"])
} // builtins.removeAttrs args ["stripLen" "addPrefixes" "excludes" "postFetch"])

0 comments on commit dd8a42a

Please sign in to comment.