gotools: fix the path in the setup-hook
This commit is contained in:
parent
2ba2b0cf23
commit
1f54afb299
|
@ -40,9 +40,8 @@ buildGoModule rec {
|
|||
# Set GOTOOLDIR for derivations adding this to buildInputs
|
||||
postInstall = ''
|
||||
mkdir -p $out/nix-support
|
||||
substituteAll ${../../go-modules/tools/setup-hook.sh} $out/nix-support/setup-hook.tmp
|
||||
cat $out/nix-support/setup-hook.tmp >> $out/nix-support/setup-hook
|
||||
rm $out/nix-support/setup-hook.tmp
|
||||
substitute ${../../go-modules/tools/setup-hook.sh} $out/nix-support/setup-hook \
|
||||
--subst-var-by bin $out
|
||||
'';
|
||||
|
||||
# Do not copy this without a good reason for enabling
|
||||
|
|
Loading…
Reference in New Issue