mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
buildGoModule: move setup-hook to gotools
the hook is for gotools, doesn't need to live with buildGoModule - also remove duplicate buildGoPackage hook
This commit is contained in:
parent
a06ac1c36a
commit
a9fb3ea0e7
3 changed files with 1 additions and 2 deletions
|
@ -1 +0,0 @@
|
|||
export GOTOOLDIR=@bin@/bin
|
|
@ -43,7 +43,7 @@ buildGoModule rec {
|
|||
# Set GOTOOLDIR for derivations adding this to buildInputs
|
||||
postInstall = ''
|
||||
mkdir -p $out/nix-support
|
||||
substitute ${../../go-modules/tools/setup-hook.sh} $out/nix-support/setup-hook \
|
||||
substitute ${./setup-hook.sh} $out/nix-support/setup-hook \
|
||||
--subst-var-by bin $out
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue