From 9e5f4ef842477090d789b8cd22028b1154a31985 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 10 Sep 2019 11:46:43 +0200 Subject: Import javascript CLI tools via node2nix --- modules/development/javascript.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules') diff --git a/modules/development/javascript.nix b/modules/development/javascript.nix index 7771fc3..e9c598e 100644 --- a/modules/development/javascript.nix +++ b/modules/development/javascript.nix @@ -3,6 +3,10 @@ let node = pkgs.unstable.nodejs-10_x; npmPackages = pkgs.unstable.nodePackages_10_x; + node2nixPackages = import ../../packages/node2nix/default.nix { + pkgs = pkgs.unstable; + nodejs = node; + }; in { environment.systemPackages = (with pkgs.unstable; [ node @@ -35,5 +39,9 @@ in yarn prettier pnpm + + node2nixPackages.prettier_d + node2nixPackages.dockerfile-language-server-nodejs + node2nixPackages.yaml-language-server ]); } -- cgit 1.4.1