guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: txr: Update to 238.


From: guix-commits
Subject: 03/03: gnu: txr: Update to 238.
Date: Tue, 26 May 2020 08:57:28 -0400 (EDT)

glv pushed a commit to branch master
in repository guix.

commit e91c29a491267a832b2739a8f171e6e1bf263a95
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Tue May 26 14:45:39 2020 +0200

    gnu: txr: Update to 238.
    
    * gnu/packages/lisp.scm (txr): Update to 238.
      [arguments]: Don't hardcode "cc=gcc" in configure-flags.
---
 gnu/packages/lisp.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 3ae8dab..21e1a04 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -806,7 +806,7 @@ enough to play the original mainframe Zork all the way 
through.")
 (define-public txr
   (package
     (name "txr")
-    (version "235")
+    (version "238")
     (source
      (origin
        (method git-fetch)
@@ -815,12 +815,15 @@ enough to play the original mainframe Zork all the way 
through.")
              (commit (string-append "txr-" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0kpqk2x0sz7sqxsrhasq0xnljjlnxwhh4xjx2nii0zy2jkv4vsbn"))))
+        (base32 "0asdq4n828xb1m31s7f47mqcbjqkzxz11bwnw8v3f2249m93ync4"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:configure-flags
-       (list "cc=gcc"
-             (string-append "--prefix=" (assoc-ref %outputs "out")))
+     `(#:configure-flags
+       (let ((target ,(%current-target-system)))
+         (list (string-append "cc=" (if target
+                                        (string-append target "-gcc")
+                                        "gcc"))
+               (string-append "--prefix=" (assoc-ref %outputs "out"))))
        #:test-target "tests"
        #:phases
        (modify-phases %standard-phases



reply via email to

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