From 2920c52a809e70aed211bea4e635917280330b98 Mon Sep 17 00:00:00 2001 From: Nathan Regner Date: Sat, 3 May 2025 10:30:48 -0600 Subject: [PATCH] mealie: install frontend dependencies with `--ignore-engines` until upstream supports Node.js 20+ It seems to build/run just fine on the latest version --- pkgs/by-name/me/mealie/mealie-frontend.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/me/mealie/mealie-frontend.nix b/pkgs/by-name/me/mealie/mealie-frontend.nix index 2947ffb2ab6c..5132f564e99a 100644 --- a/pkgs/by-name/me/mealie/mealie-frontend.nix +++ b/pkgs/by-name/me/mealie/mealie-frontend.nix @@ -29,7 +29,10 @@ stdenv.mkDerivation { export HOME=$(mktemp -d) yarn config --offline set yarn-offline-mirror "$yarnOfflineCache" fixup-yarn-lock yarn.lock - yarn install --frozen-lockfile --offline --no-progress --non-interactive + # TODO: Remove --ignore-engines once upstream supports nodejs_20+ + # https://github.com/mealie-recipes/mealie/issues/5400 + # https://github.com/mealie-recipes/mealie/pull/5184 + yarn install --frozen-lockfile --offline --no-progress --non-interactive --ignore-engines patchShebangs node_modules/ runHook postConfigure @@ -55,7 +58,5 @@ stdenv.mkDerivation { description = "Frontend for Mealie"; license = licenses.agpl3Only; maintainers = with maintainers; [ litchipi ]; - # Depends on nodejs_18 that has been removed. - broken = true; }; }