[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/40: gnu: virtualization: Add 'bash' input for 'wrap-program'.
From: |
guix-commits |
Subject: |
37/40: gnu: virtualization: Add 'bash' input for 'wrap-program'. |
Date: |
Sat, 21 Oct 2023 01:53:18 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 044a037da4b746acb9e0fedf699357a49e6c2cb6
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Jul 2 12:07:07 2021 +0200
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): Delete trail6g #t.
[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
---
gnu/packages/virtualization.scm | 44 ++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 865e827146..58939a7ffc 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -951,7 +951,8 @@ firmware blobs. You can
("shelltestrunner" ,shelltestrunner)
("tzdata" ,tzdata-for-tests)))
(inputs
- (list iputils ;for 'arping'
+ (list bash-minimal
+ iputils ;for 'arping'
curl
fping
iproute
@@ -1637,15 +1638,13 @@ virtualization library.")
(add-after 'unpack 'fix-setup
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "virtinst/buildconfig.py"
- (("/usr") (assoc-ref outputs "out")))
- #t))
+ (("/usr") (assoc-ref outputs "out")))))
(add-after 'unpack 'fix-default-uri
(lambda* (#:key inputs #:allow-other-keys)
;; Xen is not available for now - so only patch qemu.
(substitute* "virtManager/createconn.py"
(("/usr(/bin/qemu-system-[a-zA-Z0-9_-]+)" _ suffix)
- (search-input-file inputs suffix)))
- #t))
+ (search-input-file inputs suffix)))))
(add-before 'wrap 'wrap-with-GI_TYPELIB_PATH
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((bin (string-append (assoc-ref outputs "out")
"/bin"))
@@ -1663,8 +1662,7 @@ virtualization library.")
(wrap-program file
`("GI_TYPELIB_PATH" ":" prefix
,(filter identity paths))))
- bin-files))
- #t))
+ bin-files))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
@@ -1674,14 +1672,14 @@ virtualization library.")
(setenv "DISPLAY" ":1")
;; Dogtail requires that Assistive Technology support be enabled
(setenv "GTK_MODULES" "gail:atk-bridge")
- (invoke "dbus-run-session" "--" "pytest" "--uitests"))
- #t))
+ (invoke "dbus-run-session" "--" "pytest" "--uitests"))))
(add-after 'install 'glib-or-gtk-compile-schemas
(assoc-ref glib-or-gtk:%standard-phases
'glib-or-gtk-compile-schemas))
(add-after 'wrap 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(inputs
- (list dconf
+ (list bash-minimal
+ dconf
gtk+
gtk-vnc
gtksourceview-4
@@ -1738,7 +1736,7 @@ domains, their live performance and resource utilization
statistics.")
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
- #:tests? #f ; tests require mounting as root
+ #:tests? #f ; tests require mounting as root
#:make-flags
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
(string-append "LIBDIR=$(PREFIX)/lib")
@@ -1764,14 +1762,13 @@ domains, their live performance and resource
utilization statistics.")
(("ARMV.*:=.*") "ARMV := 7\n"))
;; Hard-code the correct PLUGINDIR above.
(substitute* "criu/include/plugin.h"
- (("/var") (string-append (assoc-ref outputs "out"))))
- ))
+ (("/var") (string-append (assoc-ref outputs "out"))))))
;; TODO: use
;; (@@ (guix build python-build-system) ensure-no-mtimes-pre-1980)
;; when it no longer throws due to trying to call UTIME on symlinks.
(add-after 'unpack 'ensure-no-mtimes-pre-1980
(lambda _
- (let ((early-1980 315619200)) ; 1980-01-02 UTC
+ (let ((early-1980 315619200)) ; 1980-01-02 UTC
(ftw "." (lambda (file stat flag)
(unless (or (<= early-1980 (stat:mtime stat))
(eq? (stat:type stat) 'symlink))
@@ -1805,15 +1802,16 @@ domains, their live performance and resource
utilization statistics.")
(let ((out (assoc-ref outputs "out")))
(for-each delete-file (find-files out "\\.a$"))))))))
(inputs
- `(("protobuf" ,protobuf)
- ("python-protobuf" ,python-protobuf)
- ("iproute" ,iproute)
- ("libaio" ,libaio)
- ("libcap" ,libcap)
- ("libnet" ,libnet)
- ("libnl" ,libnl)
- ("libbsd" ,libbsd)
- ("nftables" ,nftables)))
+ (list bash-minimal
+ protobuf
+ python-protobuf
+ iproute
+ libaio
+ libcap
+ libnet
+ libnl
+ libbsd
+ nftables))
(native-inputs
(list pkg-config
perl
- 08/40: gnu: guile-xyz: Add 'bash' input for 'wrap-program'., (continued)
- 08/40: gnu: guile-xyz: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 16/40: gnu: file-systems: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 18/40: gnu: web-browsers: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 21/40: gnu: mpd: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 22/40: gnu: moreutils: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 25/40: gnu: code: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 28/40: gnu: econnman: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 29/40: gnu: tomb: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 30/40: gnu: translate-shell: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 36/40: gnu: remmina: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 37/40: gnu: virtualization: Add 'bash' input for 'wrap-program'.,
guix-commits <=
- 19/40: gnu: xfce: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 24/40: gnu: emulators: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 27/40: gnu: dirvish: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 38/40: gnu: texlive-biber: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 39/40: gnu: fzf: Add 'bash-minimal' input for 'wrap-program'., guix-commits, 2023/10/21
- 40/40: gnu: blanket: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 12/40: gnu: remind: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 20/40: gnu: web: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 23/40: gnu: text-editors: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 34/40: gnu: awesome: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21