diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-11-06 11:59:21 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-04-25 11:28:17 +0200 |
commit | aad577bd30b0ab16a7859973c88edd6d0d5becde (patch) | |
tree | 7f24e0060e8644031402d0e2770ca080aeea4f7a /pkgs/development/compilers/elm | |
parent | 1c6cb4cabd84351cbc2dbc2dec4f5636a75f543a (diff) |
nodejs*: normalise names to better fit other packages
Versioned package attributes are usually named like $pname_$version
eg: nodejs-14_x -> nodejs_14
Diffstat (limited to 'pkgs/development/compilers/elm')
-rw-r--r-- | pkgs/development/compilers/elm/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/compilers/elm/packages/node-composition.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/compilers/elm/default.nix b/pkgs/development/compilers/elm/default.nix index 8ebe0d816de4..69f88d3aaf4e 100644 --- a/pkgs/development/compilers/elm/default.nix +++ b/pkgs/development/compilers/elm/default.nix @@ -3,7 +3,7 @@ let # To control nodejs version we pass down - nodejs = pkgs.nodejs-14_x; + nodejs = pkgs.nodejs_14; fetchElmDeps = pkgs.callPackage ./fetchElmDeps.nix { }; @@ -116,7 +116,7 @@ let nodePkgs = pkgs.callPackage ./packages/node-composition.nix { inherit pkgs; - nodejs = pkgs.nodejs-14_x; + nodejs = pkgs.nodejs_14; inherit (pkgs.stdenv.hostPlatform) system; }; diff --git a/pkgs/development/compilers/elm/packages/node-composition.nix b/pkgs/development/compilers/elm/packages/node-composition.nix index bbb39db07b71..b6110ac4db99 100644 --- a/pkgs/development/compilers/elm/packages/node-composition.nix +++ b/pkgs/development/compilers/elm/packages/node-composition.nix @@ -2,7 +2,7 @@ {pkgs ? import <nixpkgs> { inherit system; - }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-14_x"}: + }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs_14"}: let nodeEnv = import ../../../node-packages/node-env.nix { |