guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: fpc: Lazily evaluate the error case.


From: guix-commits
Subject: 01/02: gnu: fpc: Lazily evaluate the error case.
Date: Fri, 12 Nov 2021 17:21:37 -0500 (EST)

apteryx pushed a commit to branch core-updates-frozen
in repository guix.

commit d36cba20ef3157a8a5ae47e9282cb5da34eec3d8
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Nov 12 16:55:46 2021 -0500

    gnu: fpc: Lazily evaluate the error case.
    
    * gnu/packages/pascal.scm (fpc)[native-inputs]: Defer evaluating the match
    directive; the error condition would previously be eagerly evaluated and 
cause
    Guix to fail on non-intel machines.
---
 gnu/packages/pascal.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/pascal.scm b/gnu/packages/pascal.scm
index 7e93341..74daf05 100644
--- a/gnu/packages/pascal.scm
+++ b/gnu/packages/pascal.scm
@@ -94,12 +94,12 @@
     (native-inputs
      ;; FPC is built with FPC, so we need bootstrap binaries.
      `(("fpc-binary"
-        ,(match (or (%current-target-system)
+        (match ,(or (%current-target-system)
                     (%current-system))
-          ("i686-linux" fpc-bootstrap-i386)
-          ;("powerpc64le-linux" fpc-bootstrap-ppc64le)
-          ;("powerpc-linux" fpc-bootstrap-ppc)
-          ("x86_64-linux" fpc-bootstrap-x86_64)
+          ("i686-linux" ,fpc-bootstrap-i386)
+          ;;("powerpc64le-linux" ,fpc-bootstrap-ppc64le)
+          ;;("powerpc-linux" ,fpc-bootstrap-ppc)
+          ("x86_64-linux" ,fpc-bootstrap-x86_64)
           (arch (error "fpc arch not yet supported in guix" arch))))))
     (arguments
      `(#:tests? #f ; no tests available



reply via email to

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