mkYarnPackage: allow overriding version

This commit is contained in:
Gabriel Ebner 2020-12-13 13:42:56 +01:00
parent 95042a58fb
commit b184f8f883

@ -238,7 +238,7 @@ in rec {
package = lib.importJSON packageJSON;
pname = package.name;
safeName = reformatPackageName pname;
version = package.version or attrs.version;
version = attrs.version or package.version;
baseName = unlessNull name "${safeName}-${version}";
workspaceDependenciesTransitive = lib.unique (