mealie: Use writableTmpDirAsHomeHook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user