mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
furtherance: inherit pname+version
This commit is contained in:
parent
9797f62b35
commit
2199079b10
1 changed files with 1 additions and 2 deletions
|
@ -30,8 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) src;
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}";
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-SFp9YCmneOll2pItWmg2b2jrpRqPnvV9vwz4mjjvwM4=";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue