guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: idris: Fix idris-default-arguments.


From: Marius Bakke
Subject: 03/05: gnu: idris: Fix idris-default-arguments.
Date: Sat, 15 Apr 2017 13:47:05 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 178670c9ebf4c4037510aab96cfb7e4f55586331
Author: Peter Mikkelsen <address@hidden>
Date:   Sat Apr 15 04:31:19 2017 +0200

    gnu: idris: Fix idris-default-arguments.
    
    * gnu/packages/idris.scm (idris-default-arguments): Don't set 
IDRIS_LIBRARY_PATH before
    building and change --install to --build.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/idris.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/idris.scm b/gnu/packages/idris.scm
index 4e3a4fd..de9b5dd 100644
--- a/gnu/packages/idris.scm
+++ b/gnu/packages/idris.scm
@@ -146,12 +146,14 @@ Epigram and Agda.")
                                                     idris-path-files))
                  (install-cmd (cons* idris-bin
                                      "--ibcsubdir" ibcsubdir
-                                     "--install" ipkg
+                                     "--build" ipkg
+                                     ;; only trigger a build, as --ibcsubdir
+                                     ;; already installs .ibc files.
+
                                      (apply append (map (lambda (path)
                                                           (list "--idrispath"
                                                                 path))
                                                         idris-path-subdirs)))))
-            (setenv "IDRIS_LIBRARY_PATH" idris-libs)
             ;; FIXME: Seems to be a bug in idris that causes a dubious failure.
             (apply system* install-cmd)
             #t))))))



reply via email to

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