nixos/libvirtd: point qemu-bridge-helper to store path

fixes #165897
This commit is contained in:
Franz Pletz 2022-08-18 05:04:01 +02:00
parent 602fcc8608
commit 3e373de301
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -282,7 +282,7 @@ in
setuid = true;
owner = "root";
group = "root";
source = "/run/${dirName}/nix-helpers/qemu-bridge-helper";
source = "${cfg.qemu.package}/libexec/qemu-bridge-helper";
};
systemd.packages = [ cfg.package ];
@ -308,7 +308,7 @@ in
ln -s --force "$emulator" /run/${dirName}/nix-emulators/
done
for helper in libexec/qemu-bridge-helper bin/qemu-pr-helper; do
for helper in bin/qemu-pr-helper; do
ln -s --force ${cfg.qemu.package}/$helper /run/${dirName}/nix-helpers/
done