nix/pkgs/baserow, web/quotes: bump to node 18
This commit is contained in:
parent
baad82f0c8
commit
32742506de
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue