From ed5f55de7df892cf932ec2c62d8543eeb5546ebe Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 8 Feb 2018 16:30:19 +0100 Subject: [PATCH] gnu: nim: Use INVOKE. * gnu/packages/nim.scm (nim)[arguments]: Substitute INVOKE for SYSTEM*. --- gnu/packages/nim.scm | 6 ++++-- 1 file 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 @@ (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,