gnu: guix: Keep dependency on Guile-Avahi when cross-compiling.
* gnu/packages/package-management.scm (guix)[native-inputs]: Keep Guile-Avahi when cross-compiling, but drop it when 'hurd-target?' is true. [propagated-inputs]: Likewise.
This commit is contained in:
parent
2bf6a37020
commit
917b1e017a
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2013-2022 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2013-2023 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2015, 2017, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2017 Muriithi Frederick Muriuki <fredmanglis@gmail.com>
|
||||
;;; Copyright © 2017, 2018 Oleg Pykhalov <go.wigust@gmail.com>
|
||||
|
@ -407,7 +407,7 @@ $(prefix)/etc/openrc\n")))
|
|||
;; cross-compilation.
|
||||
("guile" ,guile-3.0-latest) ;for faster builds
|
||||
("guile-gnutls" ,guile-gnutls)
|
||||
,@(if (%current-target-system)
|
||||
,@(if (hurd-target?)
|
||||
'()
|
||||
`(("guile-avahi" ,guile-avahi)))
|
||||
("guile-gcrypt" ,guile-gcrypt)
|
||||
|
@ -466,7 +466,7 @@ $(prefix)/etc/openrc\n")))
|
|||
(propagated-inputs
|
||||
`(("guile-gnutls" ,guile-gnutls)
|
||||
;; Avahi requires "glib" which doesn't cross-compile yet.
|
||||
,@(if (%current-target-system)
|
||||
,@(if (hurd-target?)
|
||||
'()
|
||||
`(("guile-avahi" ,guile-avahi)))
|
||||
("guile-gcrypt" ,guile-gcrypt)
|
||||
|
|
Reference in a new issue