furtherance: inherit pname+version

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 07:01:06 +02:00
parent 9797f62b35
commit 2199079b10

View file

@ -30,8 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
}; };
cargoDeps = rustPlatform.fetchCargoVendor { cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) src; inherit (finalAttrs) pname version src;
name = "${finalAttrs.pname}-${finalAttrs.version}";
hash = "sha256-SFp9YCmneOll2pItWmg2b2jrpRqPnvV9vwz4mjjvwM4="; hash = "sha256-SFp9YCmneOll2pItWmg2b2jrpRqPnvV9vwz4mjjvwM4=";
}; };