attic-client: use fetchCargoVendor (#371937)

This commit is contained in:
Lin Jian
2025-01-14 15:29:50 +08:00
committed by GitHub
2 changed files with 2 additions and 5584 deletions
File diff suppressed because it is too large Load Diff
+2 -3
View File
@@ -39,10 +39,9 @@ rustPlatform.buildRustPackage {
]
);
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoBuildFlags = lib.concatMapStrings (c: "-p ${c} ") crates;
cargoHash = "sha256-AbpWnYfBMrR6oOfy2LkQvIPYsClCWE89bJav+iHTtLM=";
useFetchCargoVendor = true;
ATTIC_DISTRIBUTOR = "nixpkgs";
NIX_INCLUDE_PATH = "${lib.getDev nix}/include";