Add node2nix packages as overlay
Alan Pearce alan@alanpearce.eu
Fri, 13 Dec 2019 15:15:19 +0100
2 files changed, 5 insertions(+), 5 deletions(-)
M user/overlays/extra-packages.nix → user/overlays/extra-packages.nix
@@ -4,4 +4,7 @@ lumen = super.callPackage ../packages/lumen { buildGoPackage = self.buildGo112Package; }; ripcord = super.callPackage ../packages/ripcord {}; + node2nixPackages = import ../packages/node2nix { + pkgs = super; + }; }
M user/settings/javascript.nix → 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 @@ csslint eslint_d prettier typescript - ]) ++ (with node2nixPackages; [ - node2nixPackages."pnpm-4.1.7" + ]) ++ (with pkgs.node2nixPackages; [ + pkgs.node2nixPackages."pnpm-4.1.7" bunyan netlify-cli