3
0
Fork 0
forked from mirrors/nixpkgs

go: Remove explicitly adding libgcc_s.so.

As of 65221567c1, it's no longer needed.

This is part of an attempt to fix nixpkgs tarball evaluation.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2015-01-03 18:39:31 +01:00
parent f4edebfa12
commit c08a49bffc
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -80,12 +80,6 @@ stdenv.mkDerivation {
installPhase = ''
export CC=cc
'' + stdenv.lib.optionalString (stdenv ? cc) ''
# http://lists.science.uu.nl/pipermail/nix-dev/2013-October/011891.html
# Fix for "libgcc_s.so.1 must be installed for pthread_cancel to work"
# during tests:
export LD_LIBRARY_PATH="$(dirname $(echo ${stdenv.cc.gcc}/lib/libgcc_s.so))"
'' + ''
mkdir -p "$out/bin"
export GOROOT="$(pwd)/"
export GOBIN="$out/bin"