Commit 2920c52a authored by Nathan Regner's avatar Nathan Regner
Browse files

mealie: install frontend dependencies with `--ignore-engines` until upstream supports Node.js 20+

It seems to build/run just fine on the latest version
parent 7cf68496
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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;
  };
}