emscripten: fix node modules

This commit is contained in:
Gabriel Ebner
2020-08-29 11:35:11 +02:00
parent beb0339ce5
commit 3f30e70d29
2 changed files with 3 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
nodeModules = mkYarnModules {
name = "emscripten-node-modules-${version}";
inherit pname version;
# it is vitally important the the package.json has name and version fields
packageJSON = ./package.json;
yarnLock = ./yarn.lock;
yarnNix = ./yarn.nix;