Merge pull request #227477 from amjoseph-nixpkgs/pr/qemu/enableDocs

This commit is contained in:
Artturi
2023-04-22 10:07:15 +03:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -185,6 +185,7 @@ rec {
pulseSupport = false;
smbdSupport = false;
seccompSupport = false;
enableDocs = false;
hostCpuTargets = [ "${final.qemuArch}-linux-user" ];
};
wine = (pkgs.winePackagesFor "wine${toString final.parsed.cpu.bits}").minimal;
@@ -27,6 +27,7 @@
, tpmSupport ? true
, uringSupport ? stdenv.isLinux, liburing
, canokeySupport ? false, canokey-qemu
, enableDocs ? true
, hostCpuOnly ? false
, hostCpuTargets ? (if hostCpuOnly
then (lib.optional stdenv.isx86_64 "i386-softmmu"
@@ -147,7 +148,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--disable-strip" # We'll strip ourselves after separating debug info.
"--enable-docs"
(lib.enableFeature enableDocs "docs")
"--enable-tools"
"--localstatedir=/var"
"--sysconfdir=/etc"