From 60c6dc3f5e829f74da99ed3166401001ec5d5a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 20 Nov 2018 09:36:06 +0000 Subject: [PATCH] go_1_11: remove unused postConfigure Since it was overriding configurePhase postConfigure has not be used in a while. --- pkgs/development/compilers/go/1.11.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/development/compilers/go/1.11.nix b/pkgs/development/compilers/go/1.11.nix index 91afc89ae14..795a029a170 100644 --- a/pkgs/development/compilers/go/1.11.nix +++ b/pkgs/development/compilers/go/1.11.nix @@ -5,11 +5,6 @@ let 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" {} '' mkdir $out cp -rf ${go_bootstrap}/* $out/ @@ -164,10 +159,6 @@ stdenv.mkDerivation rec { ulimit -a ''; - postConfigure = optionalString stdenv.isDarwin '' - export PATH=${clangHack}/bin:$PATH - ''; - installPhase = '' cp -r . $GOROOT ( cd $GOROOT/src && ./all.bash )