cinny-desktop: fix darwin build (#346640)

This commit is contained in:
Olivér Falvai 2024-10-06 12:12:06 +02:00 committed by GitHub
parent 4d28461fec
commit 957647e1ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,6 +58,7 @@ rustPlatform.buildRustPackage rec {
postInstall =
lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p "$out/bin"
ln -sf "$out/Applications/Cinny.app/Contents/MacOS/Cinny" "$out/bin/cinny"
''
+ lib.optionalString stdenv.hostPlatform.isLinux ''