2 { lib, fetchYarnDeps, nodejs_18, fixup-yarn-lock, stdenv, yarn }: stdenv.mkDerivation {
3 name = "mealie-frontend";
5 src = "${src}/frontend";
7 yarnOfflineCache = fetchYarnDeps {
8 yarnLock = "${src}/frontend/yarn.lock";
9 hash = "sha256-a2kIOQHaMzaMWId6+SSYN+SPQM2Ipa+F1ztFZgo3R6A=";
15 (yarn.override { nodejs = nodejs_18; })
21 export HOME=$(mktemp -d)
22 yarn config --offline set yarn-offline-mirror "$yarnOfflineCache"
23 fixup-yarn-lock yarn.lock
24 yarn install --frozen-lockfile --offline --no-progress --non-interactive
25 patchShebangs node_modules/
33 export NUXT_TELEMETRY_DISABLED=1
35 yarn --offline generate
47 description = "Frontend for Mealie";
48 license = licenses.agpl3Only;
49 maintainers = with maintainers; [ litchipi ];