guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: nim: Use INVOKE.


From: Tobias Geerinckx-Rice
Subject: 02/04: gnu: nim: Use INVOKE.
Date: Thu, 8 Feb 2018 12:22:06 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit ed5f55de7df892cf932ec2c62d8543eeb5546ebe
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Thu Feb 8 16:30:19 2018 +0100

    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 19dcd14..5694eae 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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]