git.iko.soy/typeable/nixpkgs
on master help sign in
fetchpatch: Allow to pass a postFetch attribute.
d2df553aszlig
pkgs/build-support/fetchpatch/default.nix+1
@@ -18,5 +18,6 @@ fetchurl ({
18 --strip=${toString stripLen} \
18 --strip=${toString stripLen} \
19 --clean "$out" > "$tmpfile"
19 --clean "$out" > "$tmpfile"
20 mv "$tmpfile" "$out"
20 mv "$tmpfile" "$out"
21+ ${args.postFetch or ""}
21 '';
22 '';
22} // builtins.removeAttrs args ["stripLen"])
23} // builtins.removeAttrs args ["stripLen"])