go: Fix build

http://hydra.nixos.org/build/12538479
This commit is contained in:
Eelco Dolstra 2014-07-22 10:49:46 +02:00
parent b9d19af3e6
commit f77abc8b7a

View File

@ -69,7 +69,7 @@ stdenv.mkDerivation {
# http://lists.science.uu.nl/pipermail/nix-dev/2013-October/011891.html # 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" # Fix for "libgcc_s.so.1 must be installed for pthread_cancel to work"
# during tests: # during tests:
export LD_LIBRARY_PATH="$(dirname $(echo ${stdenv.gcc.gcc}/lib*/libgcc_s.so))" export LD_LIBRARY_PATH="$(dirname $(echo ${stdenv.gcc.gcc}/lib/libgcc_s.so))"
mkdir -p "$out/bin" mkdir -p "$out/bin"
export GOROOT="$(pwd)/" export GOROOT="$(pwd)/"