diff options
author | Alan Pearce | 2019-09-10 11:46:43 +0200 |
---|---|---|
committer | Alan Pearce | 2019-09-13 11:17:29 +0200 |
commit | 9e5f4ef842477090d789b8cd22028b1154a31985 (patch) | |
tree | c7a17c8c4e5b381e54abebaf1d3cd8889166ceb1 /modules/development | |
parent | c0287ca3a1e7168f016673c51668c1e764a0723b (diff) | |
download | nixos-configuration-9e5f4ef842477090d789b8cd22028b1154a31985.tar.lz nixos-configuration-9e5f4ef842477090d789b8cd22028b1154a31985.tar.zst nixos-configuration-9e5f4ef842477090d789b8cd22028b1154a31985.zip |
Import javascript CLI tools via node2nix
Diffstat (limited to 'modules/development')
-rw-r--r-- | modules/development/javascript.nix | 8 |
1 files changed, 8 insertions, 0 deletions
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 ]); } |