summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
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