Archived
1
0
Fork 0

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.
This commit is contained in:
Maxim Cournoyer 2021-11-12 16:55:46 -05:00
parent 8ab799faab
commit d36cba20ef
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -94,12 +94,12 @@
(native-inputs (native-inputs
;; FPC is built with FPC, so we need bootstrap binaries. ;; FPC is built with FPC, so we need bootstrap binaries.
`(("fpc-binary" `(("fpc-binary"
,(match (or (%current-target-system) (match ,(or (%current-target-system)
(%current-system)) (%current-system))
("i686-linux" fpc-bootstrap-i386) ("i686-linux" ,fpc-bootstrap-i386)
;("powerpc64le-linux" fpc-bootstrap-ppc64le) ;;("powerpc64le-linux" ,fpc-bootstrap-ppc64le)
;("powerpc-linux" fpc-bootstrap-ppc) ;;("powerpc-linux" ,fpc-bootstrap-ppc)
("x86_64-linux" fpc-bootstrap-x86_64) ("x86_64-linux" ,fpc-bootstrap-x86_64)
(arch (error "fpc arch not yet supported in guix" arch)))))) (arch (error "fpc arch not yet supported in guix" arch))))))
(arguments (arguments
`(#:tests? #f ; no tests available `(#:tests? #f ; no tests available