guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: chez-scheme: Properly identify system architecture.


From: Efraim Flashner
Subject: 01/03: gnu: chez-scheme: Properly identify system architecture.
Date: Mon, 21 Nov 2016 05:15:38 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 7ceee88c4378c2bdcc454ddd43fc5f9ee89dbb2f
Author: Efraim Flashner <address@hidden>
Date:   Sun Nov 20 22:18:49 2016 +0200

    gnu: chez-scheme: Properly identify system architecture.
    
    * gnu/packages/chez.dcm (chez-scheme)[arguments]: Substitute `uname -m'
    for `uname -a' in configure, allowing proper identification of the
    machine architecture.
---
 gnu/packages/chez.scm |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index c3cb7d7..5edce56 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -100,6 +100,10 @@
                  '())))
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'patch-processor-detection
+           (lambda _ (substitute* "configure"
+                       (("uname -a") "uname -m"))
+             #t))
          ;; Adapt the custom 'configure' script.
          (replace 'configure
            (lambda* (#:key inputs outputs #:allow-other-keys)



reply via email to

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