gnu: commencement: Avoid cyclic dependency when targeting i586-pc-gnu.

Fixes a regression introduced in
95ea1277ae where:

  guix build coreutils --target=i586-pc-gnu coreutils

would never complete due to a dependency loop introduced in
‘%final-inputs’.

* gnu/packages/commencement.scm (%final-inputs): Pass argument to
‘target-hurd?’.

Change-Id: I4df7907fb9afcd2b170ba19307666eaa81f12d41
This commit is contained in:
Ludovic Courtès 2023-11-25 22:47:10 +01:00
parent 39ca9a964d
commit 625a847d2a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3496,7 +3496,7 @@ (define-public %final-inputs
("gcc" ,gcc-final)
("libc" ,glibc-final)
("libc:static" ,glibc-final "static")
("locales" ,(if (target-hurd?)
("locales" ,(if (target-hurd? (%current-system))
glibc-utf8-locales-final/hurd
glibc-utf8-locales-final)))))))