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:
Marius Bakke 2021-12-19 00:43:24 +01:00
parent 57f011818e
commit 0ef4da9f09
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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"