web/lukegbcom: switch to nodejs 18
This commit is contained in:
parent
4921cabb8a
commit
baad82f0c8
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ depot, pkgs, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
nodejs = pkgs.nodejs-16_x;
|
nodejs = pkgs.nodejs-18_x;
|
||||||
composition = pkgs.callPackage ./node-overrides.nix { inherit nodejs; };
|
composition = pkgs.callPackage ./node-overrides.nix { inherit nodejs; };
|
||||||
inherit (composition.shell) nodeDependencies;
|
inherit (composition.shell) nodeDependencies;
|
||||||
in
|
in
|
||||||
|
@ -33,6 +33,7 @@ pkgs.stdenv.mkDerivation {
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
ln -s ${nodeDependencies}/lib/node_modules ./node_modules
|
ln -s ${nodeDependencies}/lib/node_modules ./node_modules
|
||||||
export PATH="${nodeDependencies}/bin:$PATH"
|
export PATH="${nodeDependencies}/bin:$PATH"
|
||||||
|
export NODE_OPTIONS="--no-experimental-fetch"
|
||||||
|
|
||||||
echo Starting build
|
echo Starting build
|
||||||
next build
|
next build
|
||||||
|
|
Loading…
Reference in a new issue