mealie: Use writableTmpDirAsHomeHook

This commit is contained in:
Daniel Laing
2025-08-20 13:37:26 +01:00
parent b1fc4136b4
commit a2056bcc6c
+2 -1
View File
@@ -8,6 +8,7 @@ src: version:
fixup-yarn-lock,
stdenv,
yarn,
writableTmpDirAsHomeHook,
}:
let
nodejs = nodePackages_latest.nodejs;
@@ -26,6 +27,7 @@ stdenv.mkDerivation {
fixup-yarn-lock
nodejs
(yarn.override { inherit nodejs; })
writableTmpDirAsHomeHook
];
configurePhase = ''
@@ -33,7 +35,6 @@ stdenv.mkDerivation {
sed -i 's+"@nuxt/fonts",+// NUXT FONTS DISABLED+g' nuxt.config.ts
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