aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-01-15 23:50:43 +0100
committerLudovic Courtès <ludo@gnu.org>2023-01-16 00:06:56 +0100
commit917b1e017aafa7b02b57445db0e8f4a8481ccd55 (patch)
tree2a8fd2792e0d5da6fd461ea64b14406e3ae0dad1 /gnu
parent2bf6a370206157a729571a8e0ee0e2622887d789 (diff)
downloadguix-917b1e017aafa7b02b57445db0e8f4a8481ccd55.tar
guix-917b1e017aafa7b02b57445db0e8f4a8481ccd55.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/package-management.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index d12d5ae474..3ff680bffe 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -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)