diff options
author | Dan Peebles <pumpkin@me.com> | 2017-10-03 12:48:30 -0400 |
---|---|---|
committer | Dan Peebles <pumpkin@me.com> | 2017-10-03 12:48:30 -0400 |
commit | dd8a42a224e244a6de5267259f156f7e6ee090ad (patch) | |
tree | ba8ea7d8d8d692b83c17867ac506e15e2e1bd9c9 /pkgs/build-support/fetchpatch | |
parent | b465d9c1fff4e92d6790e10dafc6a578c44ac98e (diff) |
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.
Diffstat (limited to 'pkgs/build-support/fetchpatch')
-rw-r--r-- | pkgs/build-support/fetchpatch/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchpatch/default.nix b/pkgs/build-support/fetchpatch/default.nix index a9bfac320fb86..e3159d2053012 100644 --- a/pkgs/build-support/fetchpatch/default.nix +++ b/pkgs/build-support/fetchpatch/default.nix @@ -27,4 +27,4 @@ fetchurl ({ "$tmpfile" > "$out" ${args.postFetch or ""} ''; -} // builtins.removeAttrs args ["stripLen" "addPrefixes" "excludes"]) +} // builtins.removeAttrs args ["stripLen" "addPrefixes" "excludes" "postFetch"]) |