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
|
@ -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