gnu: guile-fibers@1.4: Fix cross-compilation.

* gnu/packages/guile-xyz.scm (guile-fibers-1.4)[arguments]: Add
‘fix-cross-compilation’ phase.

Change-Id: I615800f2f0021cc86f7e6e002e3871b5986eee24
This commit is contained in:
Ludovic Courtès 2025-09-03 11:57:57 +02:00
parent ec50c8f693
commit ecc34394f3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1156,7 +1156,18 @@ is not available for Guile 2.0.")
(base32
"1ryp04w6ghgdfhlv9hkwl00iv6nwnw2hj2pywlxvpp92pyxhkwpi"))
(patches '())))
(arguments '())))
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-after 'configure 'fix-cross-compilation
(lambda _
;; Fix cross-compilation by removing use of ./env in the
;; .scm.go target; see
;; <https://codeberg.org/fibers/fibers/pulls/132>. Remove
;; when 1.4.1 is out.
(substitute* "Makefile"
(("\\$\\(top_builddir\\)/env")
"")))))))))
(define-public guile-fibers guile-fibers-1.4)