openutau: Replace cp with install

This commit is contained in:
Komo
2025-01-05 16:33:45 +08:00
parent 4c74e1e457
commit 92d35b6997
+1 -1
View File
@@ -79,7 +79,7 @@ buildDotnetModule rec {
cp runtimes/${runtime}/native/libworldline${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/OpenUtau/
'';
shouldInstallDesktopItem = lib.optionalString stdenv.hostPlatform.isLinux ''
cp Logo/openutau.svg $out/share/icons/hicolor/scalable/apps
install -Dm655 -t $out/share/icons/hicolor/scalable/apps Logo/openutau.svg
'';
in ''
${shouldInstallResampler}