* Fix TimeZone in The Go Programming Language.

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

View File

@ -27,6 +27,7 @@ stdenv.mkDerivation {
# only for 386 build
# !!! substituteInPlace does not seems to be effective.
sed -i 's,/lib/ld-linux.so.2,${glibc}/lib/ld-linux.so.2,' src/cmd/8l/asm.c
sed -i 's,/usr/share/zoneinfo/,${glibc}/share/zoneinfo/,' src/pkg/time/zoneinfo.go
'';
GOOS = "linux";

View File

@ -1,7 +1,7 @@
diff -r b51fd2d6c160 src/pkg/Makefile
--- a/src/pkg/Makefile Tue Nov 10 20:05:24 2009 -0800
+++ b/src/pkg/Makefile Sat Nov 14 19:42:42 2009 +0100
@@ -100,16 +100,19 @@
@@ -100,16 +100,18 @@
NOTEST=\
debug/proc\
@ -17,7 +17,6 @@ diff -r b51fd2d6c160 src/pkg/Makefile
runtime\
syscall\
testing/iotest\
+ time\
TEST=\
$(filter-out $(NOTEST),$(DIRS))