summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-11-20 09:36:06 +0000
committerRobin Gloster <mail@glob.in>2018-11-22 04:17:43 +0100
commit60c6dc3f5e829f74da99ed3166401001ec5d5a25 (patch)
treef06156e4767ae89a91226e2fc244e678d2c6278d /pkgs/development/compilers
parent36e4be06e616d11eaef2586c2258e74d06915582 (diff)
downloadnixpkgs-60c6dc3f5e829f74da99ed3166401001ec5d5a25.tar
nixpkgs-60c6dc3f5e829f74da99ed3166401001ec5d5a25.tar.gz
nixpkgs-60c6dc3f5e829f74da99ed3166401001ec5d5a25.tar.bz2
nixpkgs-60c6dc3f5e829f74da99ed3166401001ec5d5a25.tar.lz
nixpkgs-60c6dc3f5e829f74da99ed3166401001ec5d5a25.tar.xz
nixpkgs-60c6dc3f5e829f74da99ed3166401001ec5d5a25.tar.zst
nixpkgs-60c6dc3f5e829f74da99ed3166401001ec5d5a25.zip
go_1_11: remove unused postConfigure
Since it was overriding configurePhase postConfigure has not be used in a while.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/go/1.11.nix9
1 files changed, 0 insertions, 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 )