overlayed: don't vendor Cargo.lock

This commit is contained in:
TomaSajt 2025-05-14 01:44:13 +02:00
parent 851c8b9a53
commit d0de1313ff
No known key found for this signature in database
GPG key ID: F011163C050122A1
2 changed files with 3 additions and 5961 deletions

File diff suppressed because it is too large Load diff

View file

@ -24,6 +24,9 @@ rustPlatform.buildRustPackage rec {
sourceRoot = "${src.name}/apps/desktop/src-tauri";
useFetchCargoVendor = true;
cargoHash = "sha256-6wN4nZQWrY0J5E+auj17B3iJ/84hzBXYA/bJsX/N5pk=";
webui = callPackage ./webui.nix {
inherit meta src version;
};
@ -42,15 +45,6 @@ rustPlatform.buildRustPackage rec {
OPENSSL_NO_VENDOR = 1;
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"system-notification-0.1.0" = "sha256-T9SnKBy4x0Y5Ul6oECHJ/lvsYS2TPY8Nrg1R9JtJUXs=";
"tauri-nspanel-2.0.0-beta" = "sha256-PhMkSrmmc6fJ0GmT9lPwYMsyBap7/g8vIp210l2nFU4=";
"tauri-plugin-window-state-2.0.0-rc.1" = "sha256-8GR9q1+eiULDOtWlLy+sLylOzfAOUO5Q61EP/XvP6c0=";
};
};
postPatch = ''
substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
--replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"