mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: qemu-minimal: Actually remove unnecessary native-inputs.
This is a follow-up to commit d64bd1254a
.
* gnu/packages/virtualization.scm (qemu-minimal)[native-inputs]: Filter static
outputs and remove "gettext-minimal" instead of "gettext".
This commit is contained in:
parent
57f011818e
commit
0ef4da9f09
1 changed files with 11 additions and 3 deletions
|
@ -420,9 +420,17 @@ (define-public qemu-minimal
|
||||||
(delete 'install-user-static)))))
|
(delete 'install-user-static)))))
|
||||||
|
|
||||||
;; Remove dependencies on optional libraries, notably GUI libraries.
|
;; Remove dependencies on optional libraries, notably GUI libraries.
|
||||||
(native-inputs (modify-inputs (package-native-inputs qemu)
|
(native-inputs (filter (lambda (input)
|
||||||
(delete "gettext" "glib:static" "pcre:static"
|
(match input
|
||||||
"zlib:static")))
|
;; Work around the fact that modify-inputs can not
|
||||||
|
;; delete specific outputs; i.e. here we should keep
|
||||||
|
;; `(,glib "bin"), but not `(,glib "static").
|
||||||
|
((label package output)
|
||||||
|
(if (string=? "static" output)
|
||||||
|
#f #t))
|
||||||
|
(_ input)))
|
||||||
|
(modify-inputs (package-native-inputs qemu)
|
||||||
|
(delete "gettext-minimal"))))
|
||||||
(inputs (modify-inputs (package-inputs qemu)
|
(inputs (modify-inputs (package-inputs qemu)
|
||||||
(delete "libusb"
|
(delete "libusb"
|
||||||
"mesa"
|
"mesa"
|
||||||
|
|
Loading…
Reference in a new issue