elmPackages: update to nodejs 14
This commit is contained in:
parent
659292854a
commit
b293c4ec44
3 changed files with 762 additions and 589 deletions
|
@ -214,7 +214,7 @@ in lib.makeScope pkgs.newScope (self: with self; {
|
||||||
|
|
||||||
elm-pages = nodePkgs."elm-pages".overrideAttrs (
|
elm-pages = nodePkgs."elm-pages".overrideAttrs (
|
||||||
old: {
|
old: {
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ makeWrapper old.nodejs.pkgs.node-gyp-build ];
|
||||||
|
|
||||||
# can't use `patches = [ <patch_file> ]` with a nodePkgs derivation;
|
# can't use `patches = [ <patch_file> ]` with a nodePkgs derivation;
|
||||||
# need to patch in one of the build phases instead.
|
# need to patch in one of the build phases instead.
|
||||||
|
@ -240,6 +240,10 @@ in lib.makeScope pkgs.newScope (self: with self; {
|
||||||
|
|
||||||
lamdera = callPackage ./packages/lamdera.nix {};
|
lamdera = callPackage ./packages/lamdera.nix {};
|
||||||
|
|
||||||
inherit (nodePkgs) elm-doc-preview elm-live elm-upgrade elm-xref elm-analyse elm-git-install;
|
elm-doc-preview = nodePkgs."elm-doc-preview".overrideAttrs (old: {
|
||||||
|
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ old.nodejs.pkgs.node-gyp-build ];
|
||||||
|
});
|
||||||
|
|
||||||
|
inherit (nodePkgs) elm-live elm-upgrade elm-xref elm-analyse elm-git-install;
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{pkgs ? import <nixpkgs> {
|
{pkgs ? import <nixpkgs> {
|
||||||
inherit system;
|
inherit system;
|
||||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}:
|
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-14_x"}:
|
||||||
|
|
||||||
let
|
let
|
||||||
nodeEnv = import ../../../node-packages/node-env.nix {
|
nodeEnv = import ../../../node-packages/node-env.nix {
|
||||||
|
|
1341
pkgs/development/compilers/elm/packages/node-packages.nix
generated
1341
pkgs/development/compilers/elm/packages/node-packages.nix
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue