aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-02-08 16:30:19 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2018-02-08 17:53:23 +0100
commited5f55de7df892cf932ec2c62d8543eeb5546ebe (patch)
tree79c039269045af006282790666b5cb571b036bfa /gnu
parentdd935df2c1db17242ad1243ba3aa8fda9995dddf (diff)
downloadguix-ed5f55de7df892cf932ec2c62d8543eeb5546ebe.tar
guix-ed5f55de7df892cf932ec2c62d8543eeb5546ebe.tar.gz
gnu: nim: Use INVOKE.
* gnu/packages/nim.scm (nim)[arguments]: Substitute INVOKE for SYSTEM*.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/nim.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/nim.scm b/gnu/packages/nim.scm
index 19dcd147f8..5694eae63b 100644
--- a/gnu/packages/nim.scm
+++ b/gnu/packages/nim.scm
@@ -57,11 +57,13 @@
#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,