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