mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
qemu: Skip doc-related sphinx dependencies sphinx when docs are disabled
This commit is contained in:
parent
e8c75c234e
commit
ed38ae461a
@ -70,9 +70,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pkg-config flex bison dtc meson ninja
|
||||
|
||||
# Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
|
||||
python3Packages.python python3Packages.sphinx python3Packages.sphinx-rtd-theme
|
||||
python3Packages.python
|
||||
]
|
||||
++ lib.optionals gtkSupport [ wrapGAppsHook3 ]
|
||||
++ lib.optionals enableDocs [ python3Packages.sphinx python3Packages.sphinx-rtd-theme ]
|
||||
++ lib.optionals hexagonSupport [ glib ]
|
||||
++ lib.optionals stdenv.isDarwin [ sigtool ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user