Skip to content

Commit d56fd79

Browse files
committed
cargo-tauri: fix test app eval on darwin
1 parent 0a6475c commit d56fd79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/by-name/ca/cargo-tauri/test-app.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
2525
};
2626
};
2727

28-
postPatch = ''
28+
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
2929
substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
3030
--replace "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
3131
'';

0 commit comments

Comments
 (0)