mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-04 09:16:31 +01:00
gnu: fpc: Fix it, really.
* gnu/packages/pascal.scm (fpc): Inputs are controlled to be package-like objects, so the previous attempt also failed. [native-inputs]{fpc-binary}: Backtrack to the original solution, which is to use the x86_64 bootstrap input for unsupported architectures.
This commit is contained in:
parent
9c6a1d6933
commit
7b15e14a90
1 changed files with 9 additions and 8 deletions
|
@ -93,14 +93,15 @@ (define-public fpc
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(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)
|
;; XXX: Wrong, but innocuous so long
|
||||||
(arch (error "fpc arch not yet supported in guix" arch))))))
|
;; `supported-systems' is kept in sync.
|
||||||
|
(_ fpc-bootstrap-x86_64)))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests available
|
`(#:tests? #f ; no tests available
|
||||||
#:phases
|
#:phases
|
||||||
|
|
Loading…
Reference in a new issue