typst: remove local cargo.lock, use fetchCargoVendor (#358648)

This commit is contained in:
Pol Dellaiera 2024-11-24 10:55:59 +01:00 committed by GitHub
commit 29f3cc5e81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3703 deletions

File diff suppressed because it is too large Load Diff

View File

@ -23,11 +23,9 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-OfTMJ7ylVOJjL295W3Flj2upTiUQXmfkyDFSE1v8+a4="; hash = "sha256-OfTMJ7ylVOJjL295W3Flj2upTiUQXmfkyDFSE1v8+a4=";
}; };
cargoLock = { cargoDeps = rustPlatform.fetchCargoVendor {
lockFile = ./Cargo.lock; inherit pname version src;
outputHashes = { hash = "sha256-dphMJ1KkZARSntvyEayAtlYw8lL39K7Iw0X4n8nz3z8=";
"typst-dev-assets-0.12.0" = "sha256-YLxLuhpAUzktjyprZAhZ4GjcXEDUDdLtSzc5onzLuto=";
};
}; };
nativeBuildInputs = [ nativeBuildInputs = [