* Fix "cgo" binary be defining LC_ALL=C inside the binary.
svn path=/nixpkgs/trunk/; revision=18350
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user