web/lukegbcom: switch to nodejs 18

This commit is contained in:
Luke Granger-Brown 2023-05-27 21:26:37 +01:00
parent 4921cabb8a
commit baad82f0c8

View file

@ -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