qemu_full: remove unavailable buildInputs

ceph and glusterfs are only available for Linux platforms.
This commit is contained in:
urob 2024-08-14 21:58:24 -04:00
parent 88c7882336
commit 9dbe8e16c9

View File

@ -27112,7 +27112,11 @@ with pkgs;
prototool = callPackage ../development/tools/prototool { };
qemu_kvm = lowPrio (qemu.override { hostCpuOnly = true; });
qemu_full = lowPrio (qemu.override { smbdSupport = true; cephSupport = true; glusterfsSupport = true; });
qemu_full = lowPrio (qemu.override {
smbdSupport = lib.meta.availableOn stdenv.hostPlatform samba;
cephSupport = lib.meta.availableOn stdenv.hostPlatform ceph;
glusterfsSupport = lib.meta.availableOn stdenv.hostPlatform glusterfs && lib.meta.availableOn stdenv.hostPlatform libuuid;
});
# See `xenPackages` source for explanations.
# Building with `xen` instead of `xen-slim` is possible, but makes no sense.