niri: use useFetchCargoVendor instead of vendoring the lock file

See: https://github.com/NixOS/nixpkgs/issues/327064
This commit is contained in:
r-vdp
2025-01-07 21:49:39 +02:00
parent 6a25f33c84
commit 8f65e949cf
2 changed files with 2 additions and 5203 deletions
-5196
View File
File diff suppressed because it is too large Load Diff
+2 -7
View File
@@ -39,13 +39,8 @@ rustPlatform.buildRustPackage rec {
--replace-fail '/usr/bin' "$out/bin"
'';
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"libspa-0.8.0" = "sha256-kp5x5QhmgEqCrt7xDRfMFGoTK5IXOuvW2yOW02B8Ftk=";
"smithay-0.3.0" = "sha256-nSM7LukWHO2n2eWz5ipFNkTCYDvx/VvPXnKVngJFU0U=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-2hFavY3Y6aBPjo53o7GMjuvUKOcj+ZQiV0M1mpoH/Ck=";
strictDeps = true;