From dd8a42a224e244a6de5267259f156f7e6ee090ad Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Tue, 3 Oct 2017 12:48:30 -0400 Subject: [PATCH] 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. --- pkgs/build-support/fetchpatch/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchpatch/default.nix b/pkgs/build-support/fetchpatch/default.nix index a9bfac320fb8..e3159d205301 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"])