gnu: ldc: Use INVOKE.

* gnu/packages/dlang.scm (ldc)[arguments]: Use INVOKE.
master
Ricardo Wurmus 2019-03-26 21:35:46 +01:00
parent 4b81d5c4bc
commit 68631e037b
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 6 deletions

View File

@ -211,12 +211,12 @@ bootstrapping more recent compilers written in D.")
(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"))))
(add-after 'unpack-submodule-sources 'patch-phobos
(lambda* (#:key inputs #:allow-other-keys)
(substitute* '("runtime/phobos/std/process.d"