niri: use useFetchCargoVendor instead of vendoring the lock file (#371898)

This commit is contained in:
seth
2025-01-07 19:17:31 -05:00
committed by GitHub
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;