mycelium: use useFetchCargoVendor instead of vendoring the lock file (#371903)

This commit is contained in:
Nick Cao
2025-01-08 11:09:25 -05:00
committed by GitHub
2 changed files with 2 additions and 3455 deletions
-3449
View File
File diff suppressed because it is too large Load Diff
+2 -6
View File
@@ -23,12 +23,8 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-PbEoM+AnZTuo9xtwcDcTH9FZAzPzfBhX41+zVVTdgRo=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"tun-0.6.1" = "sha256-tJx/qRwPcZOAfxyjZUHKLKsLu+loltVUOCP8IzWMryM=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-63AB63vmxXi6ugLCAOKI1eJcOB8XHWEiCc5yoIEqd+w=";
nativeBuildInputs = [ versionCheckHook ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [