summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2019-12-13 15:15:19 +0100
committerAlan Pearce2019-12-13 15:15:19 +0100
commitc978f917ebf52d76beac40eacdaed815f329615b (patch)
tree42ad43b79724a1edb8e32611b6afa6f7b56927d5 /user/settings
parent2bd80eae7de79991c76d1b41690b99fd077ab080 (diff)
downloadnixfiles-c978f917ebf52d76beac40eacdaed815f329615b.tar.lz
nixfiles-c978f917ebf52d76beac40eacdaed815f329615b.tar.zst
nixfiles-c978f917ebf52d76beac40eacdaed815f329615b.zip
Add node2nix packages as overlay
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/javascript.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/user/settings/javascript.nix b/user/settings/javascript.nix
index 7f7bc648..ee7a1521 100644
--- a/user/settings/javascript.nix
+++ b/user/settings/javascript.nix
@@ -3,9 +3,6 @@
 let
   node = pkgs.nodejs-12_x;
   node10Packages = pkgs.nodePackages_10_x;
-  node2nixPackages = import ../packages/node2nix/default.nix {
-    inherit pkgs;
-  };
 in
 { home.packages = (with pkgs; [
     node
@@ -37,8 +34,8 @@ in
     eslint_d
     prettier
     typescript
-  ]) ++ (with node2nixPackages; [
-    node2nixPackages."pnpm-4.1.7"
+  ]) ++ (with pkgs.node2nixPackages; [
+    pkgs.node2nixPackages."pnpm-4.1.7"
 
     bunyan
     netlify-cli