aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorPjotr Prins2015-12-26 20:02:28 +0300
committerPjotr Prins2015-12-26 20:02:28 +0300
commit2c00e4a0a21d938137e8e7648b29c0b0f753d06d (patch)
treefa96a1ee5b212c5efda7eb908ff4f12326d9e4a5 /gn
parentb6207ab81cd2050fe66cb1d70a4341a58ecb8ce6 (diff)
downloadguix-bioinformatics-2c00e4a0a21d938137e8e7648b29c0b0f753d06d.tar.gz
ldc: fixed patch
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/dlanguage.scm13
1 files changed, 5 insertions, 8 deletions
diff --git a/gn/packages/dlanguage.scm b/gn/packages/dlanguage.scm
index 1aa71fd..dfcf8b0 100644
--- a/gn/packages/dlanguage.scm
+++ b/gn/packages/dlanguage.scm
@@ -78,23 +78,20 @@
(add-after
'unpack-phobos-source 'patch-phobos
- (lambda _
+ (lambda* (#:key source inputs #:allow-other-keys)
(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))
-
+ (("/usr/share/zoneinfo/") (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")))
+ #t)) ;; add-after
(add-after
'unpack-dmd-testsuite-source 'patch-dmd-testsuite
(lambda _
(substitute* "tests/d2/dmd-testsuite/Makefile"
(("/bin/bash") (which "bash")))
- #t))
+ #t)) ;; add-after
) ;; modify-phases
)) ; arguments
@@ -102,7 +99,7 @@
(inputs
`( ("libconfig" ,libconfig)
("libedit" ,libedit)
- ("tzdata" ,tzdata)) ;; for tests
+ ("tzdata" ,tzdata))) ;; for tests
(native-inputs
`(("llvm" ,llvm)
("clang" ,clang)