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:
parent
a433946b34
commit
fd56470768
1 changed files with 2 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue