aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/dlanguage.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gn/packages/dlanguage.scm b/gn/packages/dlanguage.scm
index 38ac8b0..1aa71fd 100644
--- a/gn/packages/dlanguage.scm
+++ b/gn/packages/dlanguage.scm
@@ -23,6 +23,7 @@
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (gnu packages textutils)
+ #:use-module (gnu packages base)
#:use-module (gnu packages libedit)
#:use-module (gnu packages llvm)
#:use-module (gnu packages zip)
@@ -81,7 +82,13 @@
(substitute* "runtime/phobos/std/process.d"
(("/bin/sh") (which "sh"))
(("echo") (which "echo")))
+ (substitute* "runtime/phobos/std/datetime.d"
+ (("/usr/share/zoneinfo/")
+ (string-append (assoc-ref inputs "tzdata")
+ "/share/zoneinfo")))
#t))
+
+
(add-after
'unpack-dmd-testsuite-source 'patch-dmd-testsuite
(lambda _
@@ -94,11 +101,12 @@
(inputs
`( ("libconfig" ,libconfig)
- ("libedit" ,libedit)))
+ ("libedit" ,libedit)
+ ("tzdata" ,tzdata)) ;; for tests
(native-inputs
`(("llvm" ,llvm)
("clang" ,clang)
- ("unzip" ,unzip)
+ ("unzip" ,unzip) ;; for tests
("phobos-src" ;; runtime/phobos
,(origin
(method url-fetch)