cargo-tauri: fix test app eval on darwin

This commit is contained in:
seth 2024-11-15 20:41:06 -05:00
parent 0a6475c1ff
commit d56fd79f0c
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
};
};
postPatch = ''
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
--replace "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
'';