cargo-tauri: fix test app eval on darwin

This commit is contained in:
seth
2024-11-15 20:45:28 -05:00
parent 0a6475c1ff
commit d56fd79f0c
+1 -1
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"
'';