diff options
author | Alan Pearce | 2021-03-11 14:59:21 +0100 |
---|---|---|
committer | Alan Pearce | 2021-03-11 14:59:21 +0100 |
commit | cd2e1168a50070aa2d40cfbc59388111fdbaf251 (patch) | |
tree | 0b42afed1f893ee57412d0db67710bb083051c21 | |
parent | 9c977d26cf0dc321c5615ec1ca01b1153c2677b5 (diff) | |
download | nixfiles-cd2e1168a50070aa2d40cfbc59388111fdbaf251.tar.lz nixfiles-cd2e1168a50070aa2d40cfbc59388111fdbaf251.tar.zst nixfiles-cd2e1168a50070aa2d40cfbc59388111fdbaf251.zip |
javascript: rename node alias to nodejs
-rw-r--r-- | user/settings/javascript.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/user/settings/javascript.nix b/user/settings/javascript.nix index e68aa6e4..07d2bfe5 100644 --- a/user/settings/javascript.nix +++ b/user/settings/javascript.nix @@ -1,19 +1,18 @@ { config, pkgs, ... }: let - node = pkgs.nodejs-14_x; + nodejs = pkgs.nodejs-14_x; in { nixpkgs.overlays = [ (self: super: { node2nixPackages = super.callPackage ../packages/node2nix { - nodejs = node; + inherit nodejs; }; }) ]; - home.packages = (with pkgs; [ - node + nodejs ] ++ ( if stdenv.isDarwin then |