mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: nim: Use INVOKE.
* gnu/packages/nim.scm (nim)[arguments]: Substitute INVOKE for SYSTEM*.
This commit is contained in:
parent
dd935df2c1
commit
ed5f55de7d
1 changed files with 4 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue