diff options
author | Alan Pearce | 2023-03-14 21:43:19 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-14 21:43:19 +0100 |
commit | 6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28 (patch) | |
tree | 7a126873d4a216438d835123843132d09eb2bfab /user/settings/development/javascript.nix | |
parent | fa2d41901d9fd10fd257c7ccc249ab29c5df2e33 (diff) | |
download | nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.tar.lz nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.tar.zst nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.zip |
Re-format with nixpkgs-fmt
Diffstat (limited to 'user/settings/development/javascript.nix')
-rw-r--r-- | user/settings/development/javascript.nix | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/user/settings/development/javascript.nix b/user/settings/development/javascript.nix index 692995e7..6421c8b3 100644 --- a/user/settings/development/javascript.nix +++ b/user/settings/development/javascript.nix @@ -1,10 +1,11 @@ -{ - config, - pkgs, - ... -}: let +{ config +, pkgs +, ... +}: +let nodejs = pkgs.nodejs-18_x; -in { +in +{ nixpkgs.overlays = [ (self: super: { node2nixPackages = super.callPackage ../../packages/node2nix { @@ -14,21 +15,21 @@ in { ]; 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 |