mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
overlayed: don't vendor Cargo.lock
This commit is contained in:
parent
851c8b9a53
commit
d0de1313ff
2 changed files with 3 additions and 5961 deletions
5952
pkgs/by-name/ov/overlayed/Cargo.lock
generated
5952
pkgs/by-name/ov/overlayed/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue