From cd2e1168a50070aa2d40cfbc59388111fdbaf251 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 11 Mar 2021 14:59:21 +0100 Subject: javascript: rename node alias to nodejs --- user/settings/javascript.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'user') 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 -- cgit 1.4.1