mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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:
parent
31881e36b6
commit
2f893ff53d
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user