remove now-unused yarn, replace with nodejs
This commit is contained in:
parent
99d635779c
commit
b8990d90f0
1 changed files with 2 additions and 2 deletions
|
@ -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 ..
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue