diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-03-26 21:31:07 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-03-26 23:13:54 +0100 |
commit | 4b81d5c4bc442a12c681586f6c25a4ca0af44056 (patch) | |
tree | 84cbfc5b5bcff7c96e6acfdcd6dc9fe899a5af99 | |
parent | 27cd31e6a5f3cdc30741c837eb751707ff249d77 (diff) | |
download | guix-4b81d5c4bc442a12c681586f6c25a4ca0af44056.tar guix-4b81d5c4bc442a12c681586f6c25a4ca0af44056.tar.gz |
gnu: ldc-bootstrap: Use INVOKE.
* gnu/packages/dlang.scm (ldc-bootstrap)[arguments]: Use INVOKE and
unconditionally return #T from build phase.
-rw-r--r-- | gnu/packages/dlang.scm | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index 2530b8a3c7..ddd747a156 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -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" - (assoc-ref inputs source) - "--strip-components=1")))))) - (and (unpack "phobos-src" "runtime/phobos") - (unpack "druntime-src" "runtime/druntime") - (unpack "dmd-testsuite-src" "tests/d2/dmd-testsuite"))))) + (invoke "tar" "xvf" + (assoc-ref inputs source) + "--strip-components=1"))))) + (unpack "phobos-src" "runtime/phobos") + (unpack "druntime-src" "runtime/druntime") + (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" |