mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 02:57:48 +00:00
yarn2nix: set name
to ${pname}-${version}
by default
This commit is contained in:
parent
1c1c7685d9
commit
fea2b25c74
@ -62,7 +62,7 @@ in rec {
|
||||
];
|
||||
|
||||
mkYarnModules = {
|
||||
name, # safe name and version, e.g. testcompany-one-modules-1.0.0
|
||||
name ? "${pname}-${version}", # safe name and version, e.g. testcompany-one-modules-1.0.0
|
||||
pname, # original name, e.g @testcompany/one
|
||||
version,
|
||||
packageJSON,
|
||||
|
Loading…
Reference in New Issue
Block a user