From baad82f0c84391056c8b1b9be4b3b1fe8ce5e545 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 27 May 2023 21:26:37 +0100 Subject: [PATCH] web/lukegbcom: switch to nodejs 18 --- web/lukegbcom/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/lukegbcom/default.nix b/web/lukegbcom/default.nix index 894c89beb6..fd7d90087f 100644 --- a/web/lukegbcom/default.nix +++ b/web/lukegbcom/default.nix @@ -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