Skip to content

Commit

Permalink
build: pin node to version 20 (as tested in upstream releases)
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Oct 25, 2024
1 parent 2bb01cb commit 771a7cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/overlays/frappe/frappe.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ buildPythonPackage rec {
which # pdfkit detects wkhtmltopdf this way
gzip # for manual backups from the frappe ui
bash
nodejs_18
nodejs_20
redis
];
test-dependencies = with python.pkgs; [
Expand Down
4 changes: 2 additions & 2 deletions src/overlays/tools/mkAssets.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
runCommand,
path,
nodejs_18,
nodejs_20,
yarn,
nodePackages,
emptyFile,
Expand Down Expand Up @@ -36,7 +36,7 @@ in
pname = pname + "_";
inherit src version;
nativeBuildInputs = [
nodejs_18
nodejs_20
(yarn.overrideAttrs {withNode = false;})
yarn2nix-moretea.fixup_yarn_lock
];
Expand Down
2 changes: 1 addition & 1 deletion src/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ in {
(devPackage pkgs.bench)
(devPackage pkgs.apps)
(devPackage pkgs.analyze-prs)
(devPackage pkgs.nodejs_18)
(devPackage pkgs.nodejs_20)
(devPackage (pkgs.yarn.overrideAttrs {withNode = false;}))
];
};
Expand Down

0 comments on commit 771a7cf

Please sign in to comment.