diff --git a/pkgs/development/compilers/go/1.11.nix b/pkgs/development/compilers/go/1.11.nix index 795a029a170..9676b92e8c3 100644 --- a/pkgs/development/compilers/go/1.11.nix +++ b/pkgs/development/compilers/go/1.11.nix @@ -160,8 +160,17 @@ stdenv.mkDerivation rec { ''; installPhase = '' + runHook preInstall cp -r . $GOROOT - ( cd $GOROOT/src && ./all.bash ) + ( cd $GOROOT/src && ./make.bash ) + runHook postInstall + ''; + + doInstallCheck = true; + installCheckPhase = '' + runHook preCheck + ( cd $GOROOT/src && ./run.bash --no-rebuild) + runHook postCheck ''; preFixup = ''