gnu: nim: Use INVOKE.
* gnu/packages/nim.scm (nim)[arguments]: Substitute INVOKE for SYSTEM*.
This commit is contained in:
parent
dd935df2c1
commit
ed5f55de7d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue