mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 07:04:25 +00:00
go_1_11: remove unused postConfigure
Since it was overriding configurePhase postConfigure has not be used in a while.
This commit is contained in:
parent
36e4be06e6
commit
60c6dc3f5e
@ -5,11 +5,6 @@ let
|
|||||||
|
|
||||||
inherit (stdenv.lib) optionals optionalString;
|
inherit (stdenv.lib) optionals optionalString;
|
||||||
|
|
||||||
clangHack = writeScriptBin "clang" ''
|
|
||||||
#!${stdenv.shell}
|
|
||||||
exec ${stdenv.cc}/bin/clang "$@" 2> >(sed '/ld: warning:.*ignoring unexpected dylib file/ d' 1>&2)
|
|
||||||
'';
|
|
||||||
|
|
||||||
goBootstrap = runCommand "go-bootstrap" {} ''
|
goBootstrap = runCommand "go-bootstrap" {} ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp -rf ${go_bootstrap}/* $out/
|
cp -rf ${go_bootstrap}/* $out/
|
||||||
@ -164,10 +159,6 @@ stdenv.mkDerivation rec {
|
|||||||
ulimit -a
|
ulimit -a
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postConfigure = optionalString stdenv.isDarwin ''
|
|
||||||
export PATH=${clangHack}/bin:$PATH
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -r . $GOROOT
|
cp -r . $GOROOT
|
||||||
( cd $GOROOT/src && ./all.bash )
|
( cd $GOROOT/src && ./all.bash )
|
||||||
|
Loading…
Reference in New Issue
Block a user