remove now-unused yarn, replace with nodejs

nix_flake_emscripten
Faye Duxovni 2022-05-11 14:35:37 -04:00
parent 99d635779c
commit b8990d90f0
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
pname = "olm";
inherit (builtins.fromJSON (builtins.readFile ./javascript/package.json)) version;
buildInputs = [ pkgs.gnumake pkgs.python3 pkgs.yarn ];
buildInputs = with pkgs; [ gnumake python3 nodejs ];
src = ./.;
@ -62,7 +62,7 @@
cd javascript
export HOME=$TMPDIR
ln -s ${node_modules}/node_modules ./node_modules
${pkgs.nodejs}/bin/npm test
npm test
cd ..
'';
};