gnu: nim: Use INVOKE.

* gnu/packages/nim.scm (nim)[arguments]: Substitute INVOKE for SYSTEM*.
master
Tobias Geerinckx-Rice 2018-02-08 16:30:19 +01:00
parent dd935df2c1
commit ed5f55de7d
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 2 deletions

View File

@ -57,11 +57,13 @@
#t)) #t))
(replace 'build (replace 'build
(lambda _ (lambda _
(zero? (system* "sh" "build.sh")))) (invoke "sh" "build.sh")
#t))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(zero? (system* "./install.sh" out)))))))) (invoke "./install.sh" out)
#t))))))
(home-page "https://nim-lang.org") (home-page "https://nim-lang.org")
(synopsis "Statically-typed, imperative programming language") (synopsis "Statically-typed, imperative programming language")
(description "Nim (formerly known as Nimrod) is a statically-typed, (description "Nim (formerly known as Nimrod) is a statically-typed,