mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -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)))))
|
||||
|
||||
;; Remove dependencies on optional libraries, notably GUI libraries.
|
||||
(native-inputs (modify-inputs (package-native-inputs qemu)
|
||||
(delete "gettext" "glib:static" "pcre:static"
|
||||
"zlib:static")))
|
||||
(native-inputs (filter (lambda (input)
|
||||
(match input
|
||||
;; 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)
|
||||
(delete "libusb"
|
||||
"mesa"
|
||||
|
|
Loading…
Reference in a new issue