about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2024-07-03 07:36:45 -0400
committerGitHub <noreply@github.com>2024-07-03 07:36:45 -0400
commit67c89a3dfe67e515e8f7b308fc4ce8b93a39a75a (patch)
treefedf1bf8d0e0baac24d4a59f370737da9e54ef4a
parent76780d3ce9c0a3c732a7b55fefe390b8337a71ac (diff)
parent9604aba3f690a1007b5b0244fcc92eb94fecfe5f (diff)
Merge pull request #323133 from michaeladler/fix/quickemu
quickemu: fix Samba shares
-rw-r--r--pkgs/by-name/qu/quickemu/package.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/by-name/qu/quickemu/package.nix b/pkgs/by-name/qu/quickemu/package.nix
index 83b44bfc388d0..1f8e0cf07118c 100644
--- a/pkgs/by-name/qu/quickemu/package.nix
+++ b/pkgs/by-name/qu/quickemu/package.nix
@@ -14,7 +14,7 @@
   pciutils,
   procps,
   python3,
-  qemu,
+  qemu_full,
   socat,
   spice-gtk,
   swtpm,
@@ -42,7 +42,7 @@ let
     pciutils
     procps
     python3
-    qemu
+    qemu_full
     socat
     swtpm
     util-linux
@@ -73,6 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
       -e '/OVMF_CODE_4M.fd/s|ovmfs=(|ovmfs=("${OVMF.firmware}","${OVMF.variables}" |' \
       -e '/cp "''${VARS_IN}" "''${VARS_OUT}"/a chmod +w "''${VARS_OUT}"' \
       -e 's/Icon=.*qemu.svg/Icon=qemu/' \
+      -e 's,\[ -x "\$(command -v smbd)" \],true,' \
       quickemu
   '';