Skip to content

Commit

Permalink
go: Fixes compilation on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Sep 11, 2015
1 parent b954146 commit 18402ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/compilers/go/1.5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ stdenv.mkDerivation rec {
sed -i '/TestSystemRoots/areturn' src/crypto/x509/root_darwin_test.go
touch $TMPDIR/group $TMPDIR/hosts $TMPDIR/passwd
# Hack, dsymutil is an empty shim in the Darwin stdenv but we need it here
mkdir tmp
ln -s /usr/bin/dsymutil tmp/dsymutil
export PATH="$PWD/tmp:$PATH"
'';

patches = [
Expand Down

0 comments on commit 18402ca

Please sign in to comment.