go_1_11: split into install/check phase
For cross compilation we want to skip installCheckPhase.
This commit is contained in:
parent
60c6dc3f5e
commit
416d8928b2
@ -160,8 +160,17 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
cp -r . $GOROOT
|
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 = ''
|
preFixup = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user