anchor.diff:  , libiscsiSupport ? true, libiscsi
   , smbdSupport ? false, samba
   , tpmSupport ? true
  +, uringSupport ? stdenv.isLinux, liburing
   , hostCpuOnly ? false
   , hostCpuTargets ? (if hostCpuOnly
                       then (lib.optional stdenv.isx86_64 "i386-softmmu"
  
positive.code:     ++ lib.optionals openGLSupport [ mesa epoxy libdrm ]
      ++ lib.optionals virglSupport [ virglrenderer ]
      ++ lib.optionals libiscsiSupport [ libiscsi ]
      ++ lib.optionals smbdSupport [ samba ];
  
    dontUseMesonConfigure = true; # meson's configurePhase isn't compatible with qemu build
  
  
negative.code:     ++ lib.optional virglSupport "--enable-virglrenderer"
      ++ lib.optional tpmSupport "--enable-tpm"
      ++ lib.optional libiscsiSupport "--enable-libiscsi"
      ++ lib.optional smbdSupport "--smbd=${samba}/bin/smbd"
      ++ lib.optional uringSupport "--enable-linux-io-uring";
  
    doCheck = false; # tries to access /dev
    dontWrapGApps = true;
  