3
0
Fork 0
forked from mirrors/nixpkgs

autoPatchelfHook: Provide a better derivation name

Thanks to @Ericson2314 for the suggestion to provide a name for the hook
script. Comment was posted here:

https://github.com/NixOS/nixpkgs/pull/34506#discussion_r167421856

Very useful if you use some other hooks and autoPatchelfHook so you
don't just get a bunch of "hook" derivations.

Tested by quickly building (not running) teamviewer and masterpdfeditor.

Signed-off-by: aszlig <aszlig@nix.build>
Reported-by: John Ericson <Ericson2314@yahoo.com>
This commit is contained in:
aszlig 2018-04-28 07:20:40 +02:00
parent 31881e36b6
commit 2f893ff53d
No known key found for this signature in database
GPG key ID: 684089CE67EBB691

View file

@ -80,7 +80,7 @@ with pkgs;
../build-support/setup-hooks/autoreconf.sh;
autoPatchelfHook = makeSetupHook
{ deps = [ file ]; }
{ name = "auto-patchelf-hook"; deps = [ file ]; }
../build-support/setup-hooks/auto-patchelf.sh;
ensureNewerSourcesHook = { year }: makeSetupHook {}