fetchpatch: Allow to pass a postFetch attribute.

Comes in handy if we want to make additional modificiations to the
output file. While I wasn't sure whether to invoke the passed postFetch
directly before the patch or afterwards, I thought it would be better
afterwards because "postFetch of fetchpatch" at least to my intuition
would sound that after whatever "fetchpatch" does - it comes afterwards.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>

aszlig d2df553d 5cd1fd80

+1
+1
pkgs/build-support/fetchpatch/default.nix
··· 18 18 --strip=${toString stripLen} \ 19 19 --clean "$out" > "$tmpfile" 20 20 mv "$tmpfile" "$out" 21 + ${args.postFetch or ""} 21 22 ''; 22 23 } // builtins.removeAttrs args ["stripLen"])