* Fix "cgo" binary be defining LC_ALL=C inside the binary.

svn path=/nixpkgs/trunk/; revision=18350
This commit is contained in:
Nicolas Pierron
2009-11-14 23:39:53 +00:00
parent a61a4bc4bc
commit 66ef37d260
2 changed files with 14 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ stdenv.mkDerivation {
patches = [
./disable-system-dependent-tests.patch
./pkg-log-test-accept-period-in-file-path.patch
./cgo-set-local-to-match-gcc-error-messages.patch
];
prePatch = ''
@@ -33,9 +34,6 @@ stdenv.mkDerivation {
GOOS = "linux";
GOARCH = "386";
# The go-c interface depends on the error output of GCC.
LC_ALL = "C";
installPhase = ''
ensureDir "$out"
ensureDir "$out/bin"