aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/pascal.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-12 16:55:46 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-12 17:16:14 -0500
commitd36cba20ef3157a8a5ae47e9282cb5da34eec3d8 (patch)
tree308d7b11ed03f1c79d6192c567fbf26faca97994 /gnu/packages/pascal.scm
parent8ab799faaba83100251bbdb17ac39d52c5cf6894 (diff)
downloadguix-d36cba20ef3157a8a5ae47e9282cb5da34eec3d8.tar
guix-d36cba20ef3157a8a5ae47e9282cb5da34eec3d8.tar.gz
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.
Diffstat (limited to 'gnu/packages/pascal.scm')
-rw-r--r--gnu/packages/pascal.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/pascal.scm b/gnu/packages/pascal.scm
index 7e9334146d..74daf058ca 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