From c5dd597870e90f2bf9a03c5a61517eab5c145740 Mon Sep 17 00:00:00 2001 From: misuzu Date: Wed, 12 Aug 2020 14:47:41 +0300 Subject: [PATCH] qemu: libiscsi support --- pkgs/applications/virtualization/qemu/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index 5d4b891ad5de..259b3282118e 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -19,6 +19,7 @@ , cephSupport ? false, ceph , openGLSupport ? sdlSupport, mesa, epoxy, libdrm , virglSupport ? openGLSupport, virglrenderer +, libiscsiSupport ? true, libiscsi , smbdSupport ? false, samba , tpmSupport ? true , hostCpuOnly ? false @@ -72,6 +73,7 @@ stdenv.mkDerivation rec { ++ optionals cephSupport [ ceph ] ++ optionals openGLSupport [ mesa epoxy libdrm ] ++ optionals virglSupport [ virglrenderer ] + ++ optionals libiscsiSupport [ libiscsi ] ++ optionals smbdSupport [ samba ]; enableParallelBuilding = true; @@ -148,6 +150,7 @@ stdenv.mkDerivation rec { ++ optional openGLSupport "--enable-opengl" ++ optional virglSupport "--enable-virglrenderer" ++ optional tpmSupport "--enable-tpm" + ++ optional libiscsiSupport "--enable-libiscsi" ++ optional smbdSupport "--smbd=${samba}/bin/smbd"; doCheck = false; # tries to access /dev