diff options
author | Efraim Flashner <[email protected]> | 2025-02-13 10:37:38 +0200 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2025-02-13 11:33:27 +0200 |
commit | 9eb2468d0096da5fcd5bb47810de0ce5c2e9bcf8 (patch) | |
tree | fb5458e5fefdaaf8eb92f29827ff77f34ff10a53 /gnu | |
parent | fa485ee60e910755d7c37e83bce4c77e639b801d (diff) |
gnu: qemu-minimal: Don't build the documentation.
This removes mesa from the build dependency chain.
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Replace the
inherited 'move-html-doc phase.
[native-inputs]: Remove python-sphinx, python-sphinx-rtd-theme.
[synopsis]: Also mention that the docs aren't built.
Change-Id: I6761fae1e4c0001033c842451032fc54b674f3d5
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/virtualization.scm | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index b8819bb14d..3fb0b5effa 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013-2017, 2020-2022 Ludovic Courtès <[email protected]> ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <[email protected]> -;;; Copyright © 2016-2021, 2023, 2024 Efraim Flashner <[email protected]> +;;; Copyright © 2016-2021, 2023-2025 Efraim Flashner <[email protected]> ;;; Copyright © 2016, 2017 Ricardo Wurmus <[email protected]> ;;; Copyright © 2017 Alex Vong <[email protected]> ;;; Copyright © 2017 Andy Patterson <[email protected]> @@ -614,7 +614,7 @@ server and embedded PowerPC, and S390 guests.") (name "qemu-minimal") (outputs '("out" "doc")) (synopsis - "Machine emulator and virtualizer (without GUI) for the host architecture") + "Machine emulator and virtualizer (without GUI or docs) for the host architecture") (arguments (substitute-keyword-arguments (package-arguments qemu) ((#:configure-flags configure-flags #~'()) @@ -649,11 +649,15 @@ server and embedded PowerPC, and S390 guests.") (else ; An empty list actually builds all the targets. '())))) #~(cons #$target-list-arg #$configure-flags))) - ((#:phases phases) + ((#:phases phases #~'%standard-phases) #~(modify-phases #$phases (delete 'configure-user-static) (delete 'build-user-static) - (delete 'install-user-static))))) + (delete 'install-user-static) + ;; We cannot fully remove the "doc" output due to the gexp in qemu. + (replace 'move-html-doc + (lambda _ + (mkdir-p #$output:doc))))))) ;; Remove dependencies on optional libraries, notably GUI libraries. (native-inputs (filter (lambda (input) @@ -665,7 +669,9 @@ server and embedded PowerPC, and S390 guests.") (not (string=? "static" output))) (_ input))) (modify-inputs (package-native-inputs qemu) - (delete "gettext-minimal")))) + (delete "gettext-minimal" + "python-sphinx" + "python-sphinx-rtd-theme")))) (inputs (modify-inputs (package-inputs qemu) (delete "libusb" "mesa" |