yarn2nix: set name to ${pname}-${version} by default

This commit is contained in:
Maximilian Bosch 2021-05-21 23:10:02 +02:00 committed by Raphael Megzari
parent 1c1c7685d9
commit fea2b25c74

View file

@ -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,