mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
cargo-tauri.hook: fix installation when $out already exists
This commit is contained in:
parent
c76ede329c
commit
eb6d1a086e
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ makeSetupHook {
|
|||
'';
|
||||
|
||||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue