all repos — nixfiles @ 6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28

System and user configuration, managed by nix and home-manager

Re-format with nixpkgs-fmt

Alan Pearce
commit

6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28

parent

fa2d41901d9fd10fd257c7ccc249ab29c5df2e33

1 file changed, 21 insertions(+), 20 deletions(-)

changed files
M user/settings/development/javascript.nixuser/settings/development/javascript.nix
@@ -1,10 +1,11 @@
+{ config +, pkgs +, ... +}: +let + nodejs = pkgs.nodejs-18_x; +in { - config, - pkgs, - ... -}: let - nodejs = pkgs.nodejs-18_x; -in { nixpkgs.overlays = [ (self: super: { node2nixPackages = super.callPackage ../../packages/node2nix {
@@ -14,21 +15,21 @@ })
]; home.packages = (with pkgs; - [ - nodejs + [ + nodejs + ] + ++ ( + if stdenv.isDarwin + then [ + ] + else [ + # npm install may use any of these + binutils + gnumake + gcc + python2 ] - ++ ( - if stdenv.isDarwin - then [ - ] - else [ - # npm install may use any of these - binutils - gnumake - gcc - python2 - ] - )) + )) ++ (with pkgs.nodePackages; [ node2nix nodemon