diff --git a/nix/pkgs/baserow/default.nix b/nix/pkgs/baserow/default.nix index b1e99409b9..cec870a200 100644 --- a/nix/pkgs/baserow/default.nix +++ b/nix/pkgs/baserow/default.nix @@ -5,7 +5,7 @@ , makeWrapper , python3 , poetry2nix -, nodejs-16_x +, nodejs-18_x , ossOnly ? true }: @@ -33,7 +33,7 @@ let src = "${src}/web-frontend"; }; - nodejs = nodejs-16_x; + nodejs = nodejs-18_x; poetry2nixOverrides = poetry2nix.defaultPoetryOverrides.overrideOverlay (self: super: let addBuildInputs = f: buildInputs: f.overridePythonAttrs (old: { buildInputs = (old.buildInputs or []) ++ buildInputs; diff --git a/web/quotes/default.nix b/web/quotes/default.nix index 4680a13b79..1c606e7590 100644 --- a/web/quotes/default.nix +++ b/web/quotes/default.nix @@ -26,7 +26,7 @@ pkgs.stdenvNoCC.mkDerivation rec { buildInputs = with pkgs; [ makeWrapper nodejs ]; propagatedBuildInputs = [ python ]; - nodeModules = (import ./node-default.nix { inherit pkgs; }).shell.nodeDependencies; + nodeModules = (import ./node-default.nix { inherit pkgs; nodejs = pkgs.nodejs-18_x; }).shell.nodeDependencies; buildPhase = '' cp -R $nodeModules/lib/node_modules theme/static_src/node_modules