gnu: virtualization: Add 'bash' input for 'wrap-program'.

It is required for cross-compilation.

* gnu/packages/virtualization.scm
(ganeti)[inputs]: Add 'bash-minimal'.
(virt-manager)[inputs]: Likewise.
(criu)[inputs]: Likewise.  Remove labels.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ib5ae01ea43ac99085a172e0e015d316c99b66897
This commit is contained in:
Maxime Devos 2021-07-02 12:07:07 +02:00 committed by Ludovic Courtès
parent 240d406b43
commit 7351aa3b3e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1030,7 +1030,8 @@ firmware blobs. You can
("shelltestrunner" ,shelltestrunner) ("shelltestrunner" ,shelltestrunner)
("tzdata" ,tzdata-for-tests))) ("tzdata" ,tzdata-for-tests)))
(inputs (inputs
(list iputils ;for 'arping' (list bash-minimal
iputils ;for 'arping'
curl curl
fping fping
iproute iproute
@ -1758,7 +1759,8 @@ virtualization library.")
(add-after 'wrap 'glib-or-gtk-wrap (add-after 'wrap 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(inputs (inputs
(list dconf (list bash-minimal
dconf
gtk+ gtk+
gtk-vnc gtk-vnc
gtksourceview-4 gtksourceview-4
@ -1989,8 +1991,7 @@ client desktops.
(("ARMV.*:=.*") "ARMV := 7\n")) (("ARMV.*:=.*") "ARMV := 7\n"))
;; Hard-code the correct PLUGINDIR above. ;; Hard-code the correct PLUGINDIR above.
(substitute* "criu/include/plugin.h" (substitute* "criu/include/plugin.h"
(("/var") (string-append (assoc-ref outputs "out")))) (("/var") (string-append (assoc-ref outputs "out"))))))
))
;; TODO: use ;; TODO: use
;; (@@ (guix build python-build-system) ensure-no-mtimes-pre-1980) ;; (@@ (guix build python-build-system) ensure-no-mtimes-pre-1980)
;; when it no longer throws due to trying to call UTIME on symlinks. ;; when it no longer throws due to trying to call UTIME on symlinks.
@ -2030,15 +2031,16 @@ client desktops.
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(for-each delete-file (find-files out "\\.a$")))))))) (for-each delete-file (find-files out "\\.a$"))))))))
(inputs (inputs
`(("protobuf" ,protobuf) (list bash-minimal
("python-protobuf" ,python-protobuf) protobuf
("iproute" ,iproute) python-protobuf
("libaio" ,libaio) iproute
("libcap" ,libcap) libaio
("libnet" ,libnet) libcap
("libnl" ,libnl) libnet
("libbsd" ,libbsd) libnl
("nftables" ,nftables))) libbsd
nftables))
(native-inputs (native-inputs
(list pkg-config (list pkg-config
perl perl