From b8990d90f0b5b2e18d269ea83e46f27f3b7ffe1d Mon Sep 17 00:00:00 2001 From: Faye Duxovni Date: Wed, 11 May 2022 14:35:37 -0400 Subject: [PATCH] remove now-unused yarn, replace with nodejs --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index a05f26e..34b3fde 100644 --- a/flake.nix +++ b/flake.nix @@ -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 .. ''; };