mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
go: add runHooks to bootstrap binary
This commit is contained in:
parent
b3a05d2ccb
commit
99697d891d
@ -29,6 +29,7 @@ stdenv.mkDerivation rec {
|
||||
dontStrip = stdenv.hostPlatform.isDarwin;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/go $out/bin
|
||||
mv bin/* $out/bin
|
||||
cp -r . $out/share/go
|
||||
@ -37,5 +38,6 @@ stdenv.mkDerivation rec {
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
$out/bin/go
|
||||
'')}
|
||||
'' ;
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user