mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: qemu-minimal: Don't build static binaries.
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Remove inherited phases for static binaries. [native-inputs]: Remove glib:static, pcre:static and zlib:static. [outputs]: Remove static output. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
ededaa0a35
commit
6858c15008
1 changed files with 8 additions and 2 deletions
|
@ -372,6 +372,7 @@ (define-public qemu-minimal
|
|||
(package
|
||||
(inherit qemu)
|
||||
(name "qemu-minimal")
|
||||
(outputs '("out" "doc"))
|
||||
(synopsis
|
||||
"Machine emulator and virtualizer (without GUI) for the host architecture")
|
||||
(arguments
|
||||
|
@ -407,11 +408,16 @@ (define-public qemu-minimal
|
|||
"--target-list=riscv32-softmmu,riscv64-softmmu")
|
||||
(else ; An empty list actually builds all the targets.
|
||||
'()))))
|
||||
`(cons ,target-list-arg ,configure-flags)))))
|
||||
`(cons ,target-list-arg ,configure-flags)))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(delete 'configure-user-static)
|
||||
(delete 'build-user-static)
|
||||
(delete 'install-user-static)))))
|
||||
|
||||
;; Remove dependencies on optional libraries, notably GUI libraries.
|
||||
(native-inputs (fold alist-delete (package-native-inputs qemu)
|
||||
'("gettext")))
|
||||
'("gettext" "glib:static" "pcre:static" "zlib:static")))
|
||||
(inputs (fold alist-delete (package-inputs qemu)
|
||||
'("libusb" "mesa" "sdl2" "spice" "virglrenderer" "gtk+"
|
||||
"usbredir" "libdrm" "libepoxy" "pulseaudio" "vde2"
|
||||
|
|
Loading…
Reference in a new issue