gnu: nim: Use INVOKE.

* gnu/packages/nim.scm (nim)[arguments]: Substitute INVOKE for SYSTEM*.
This commit is contained in:
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

View file

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