remove now-unused yarn, replace with nodejs

This commit is contained in:
Faye Duxovni 2022-05-11 14:35:37 -04:00
parent 99d635779c
commit b8990d90f0

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 ..
'';
};