yarn2nix: set name
to ${pname}-${version}
by default
This commit is contained in:
parent
1c1c7685d9
commit
fea2b25c74
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ in rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
mkYarnModules = {
|
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
|
pname, # original name, e.g @testcompany/one
|
||||||
version,
|
version,
|
||||||
packageJSON,
|
packageJSON,
|
||||||
|
|
Loading…
Reference in a new issue