about summary refs log tree commit diff
path: root/pkgs/build-support/fetchpatch
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2017-10-03 12:48:30 -0400
committerDan Peebles <pumpkin@me.com>2017-10-03 12:48:30 -0400
commitdd8a42a224e244a6de5267259f156f7e6ee090ad (patch)
treeba8ea7d8d8d692b83c17867ac506e15e2e1bd9c9 /pkgs/build-support/fetchpatch
parentb465d9c1fff4e92d6790e10dafc6a578c44ac98e (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.nix2
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"])