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, ... }:
|
||||
|
||||
let
|
||||
nodejs = pkgs.nodejs-16_x;
|
||||
nodejs = pkgs.nodejs-18_x;
|
||||
composition = pkgs.callPackage ./node-overrides.nix { inherit nodejs; };
|
||||
inherit (composition.shell) nodeDependencies;
|
||||
in
|
||||
|
@ -33,6 +33,7 @@ pkgs.stdenv.mkDerivation {
|
|||
buildPhase = ''
|
||||
ln -s ${nodeDependencies}/lib/node_modules ./node_modules
|
||||
export PATH="${nodeDependencies}/bin:$PATH"
|
||||
export NODE_OPTIONS="--no-experimental-fetch"
|
||||
|
||||
echo Starting build
|
||||
next build
|
||||
|
|
Loading…
Reference in a new issue