cargo-tauri.hook: fix installation when $out already exists (#407796)

Changed files
+2 -1
pkgs
by-name
ca
cargo-tauri
+2 -1
pkgs/by-name/ca/cargo-tauri/hook.nix
···
'';
linux = ''
-
mv "$targetDir"/bundle/deb/*/data/usr $out
+
mkdir -p $out
+
mv "$targetDir"/bundle/deb/*/data/usr/* $out/
'';
}
.${kernelName} or (throw "${kernelName} is not supported by cargo-tauri.hook");