0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

impression: use fetchCargoVendor (#377203)

This commit is contained in:
Seth Flynn 2025-01-27 00:34:38 -05:00 committed by GitHub
commit c6d0a5d3db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,10 +33,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-F2ZyATDKnUgEOAI++54fR6coJOr9rtyGm5TzsKzkDmg=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
name = "${finalAttrs.pname}-${finalAttrs.version}";
hash = "sha256-H4x7D25UzDdAEad7QEsZZGLXhfiUupm3mTrNho+ShFo=";
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-mQyGQXEFmMkTvkZcniws/11u1RqnsxgNi9dvYn1Mx0o=";
};
nativeBuildInputs = [