qemu: fix dangling virtiofsd symlink warning

This issue goes away with the change:

```
warning: creating dangling symlink `/nix/store/...//bin/virtiofsd' -> `/nix/store/...-qemu-host-cpu-only-7.1.0/bin/virtiofsd' -> `../libexec/virtiofsd'
```
This commit is contained in:
Ivan Babrou 2022-11-12 09:02:27 -08:00 committed by zowoq
parent a433946b34
commit fd56470768

View File

@ -231,8 +231,9 @@ stdenv.mkDerivation rec {
# Add a qemu-kvm wrapper for compatibility/convenience.
postInstall = ''
ln -s $out/libexec/virtiofsd $out/bin
ln -s $out/bin/qemu-system-${stdenv.hostPlatform.qemuArch} $out/bin/qemu-kvm
'' + lib.optionalString stdenv.isLinux ''
ln -s $out/libexec/virtiofsd $out/bin
'';
passthru = {