guix-commits
[Top][All Lists]
Advanced

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

15/16: gnu: chez-sockets: Replace texlive input with minimal texlive-uni


From: guix-commits
Subject: 15/16: gnu: chez-sockets: Replace texlive input with minimal texlive-union.
Date: Fri, 14 Dec 2018 17:32:50 -0500 (EST)

ambrevar pushed a commit to branch master
in repository guix.

commit 1e0f2ae0283949ee2237ca0e6013b54acdc2b7a6
Author: Pierre Neidhardt <address@hidden>
Date:   Fri Dec 14 23:01:16 2018 +0100

    gnu: chez-sockets: Replace texlive input with minimal texlive-union.
    
    * gnu/packages/chez.scm (chez-sockets)[native-inputs]: Replace texlive with 
minimal texlive-union.
---
 gnu/packages/chez.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index 7cae5f2..10601f0 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -345,7 +345,7 @@ programming in Scheme.")
       (native-inputs
        `(("chez-scheme" ,chez-scheme)
          ("chez-web" ,chez-web)
-         ("texlive" ,texlive)))
+         ("texlive" ,(texlive-union (list texlive-generic-pdftex)))))
       (arguments
        `(#:tests? #f              ; no tests
          #:phases
@@ -361,11 +361,16 @@ programming in Scheme.")
                     (string-append var chez-h)))
                  #t)))
            (add-before 'build 'tangle
-             (lambda _
+             (lambda* (#:key inputs #:allow-other-keys)
+               (setenv "TEXINPUTS"
+                       (string-append
+                        (getcwd) ":"
+                        (assoc-ref inputs "chez-web") 
"/share/texmf-local/tex/generic:"
+                        ":"))
                ;; just using "make" tries to build the .c files before
                ;; they are created.
-               (and (zero? (system* "make" "sockets"))
-                    (zero? (system* "make")))))
+               (and (invoke "make" "sockets")
+                    (invoke "make"))))
            (replace 'build
              (lambda* (#:key outputs inputs #:allow-other-keys)
                (let* ((out (assoc-ref outputs "out"))



reply via email to

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