me
/
guix
Archived
1
0
Fork 0

gnu: ldc-bootstrap: Use INVOKE.

* gnu/packages/dlang.scm (ldc-bootstrap)[arguments]: Use INVOKE and
unconditionally return #T from build phase.
master
Ricardo Wurmus 2019-03-26 21:31:07 +01:00
parent 27cd31e6a5
commit 4b81d5c4bc
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 6 deletions

View File

@ -103,12 +103,13 @@ and freshness without requiring additional information from the user.")
(lambda* (#:key inputs #:allow-other-keys)
(let ((unpack (lambda (source target)
(with-directory-excursion target
(zero? (system* "tar" "xvf"
(invoke "tar" "xvf"
(assoc-ref inputs source)
"--strip-components=1"))))))
(and (unpack "phobos-src" "runtime/phobos")
"--strip-components=1")))))
(unpack "phobos-src" "runtime/phobos")
(unpack "druntime-src" "runtime/druntime")
(unpack "dmd-testsuite-src" "tests/d2/dmd-testsuite")))))
(unpack "dmd-testsuite-src" "tests/d2/dmd-testsuite")
#t)))
(add-after 'unpack-submodule-sources 'patch-dmd2
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "dmd2/root/port.c"