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
|
# Set GOTOOLDIR for derivations adding this to buildInputs
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/nix-support
|
mkdir -p $out/nix-support
|
||||||
substituteAll ${../../go-modules/tools/setup-hook.sh} $out/nix-support/setup-hook.tmp
|
substitute ${../../go-modules/tools/setup-hook.sh} $out/nix-support/setup-hook \
|
||||||
cat $out/nix-support/setup-hook.tmp >> $out/nix-support/setup-hook
|
--subst-var-by bin $out
|
||||||
rm $out/nix-support/setup-hook.tmp
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Do not copy this without a good reason for enabling
|
# Do not copy this without a good reason for enabling
|
||||||
|
|
Loading…
Reference in New Issue