aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-08-22 22:24:06 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-09-09 16:08:09 +0300
commit6858c15008b06d18e912387a7893d63bc9b34fa2 (patch)
tree6c733f5b9e931f0fac5c765ca9bf45c7f82075ac /gnu/packages
parentededaa0a35a2903ec7de39afb67592f25d4059ca (diff)
downloadguix-6858c15008b06d18e912387a7893d63bc9b34fa2.tar.gz
guix-6858c15008b06d18e912387a7893d63bc9b34fa2.zip
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/virtualization.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 34700211d9..a4e302dd14 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -372,6 +372,7 @@ server and embedded PowerPC, and S390 guests.")
(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 @@ server and embedded PowerPC, and S390 guests.")
"--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"