Skip to content

Commit 5aba2e7

Browse files
committed
akkoma-frontends.admin-fe: use writableTmpDirAsHomeHook
1 parent 895ad18 commit 5aba2e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/servers/akkoma/admin-fe/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
stdenv,
44
fetchFromGitea,
55
fetchYarnDeps,
6+
writableTmpDirAsHomeHook,
67
fixup-yarn-lock,
78
yarn,
89
nodejs,
@@ -32,6 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
3233

3334
nativeBuildInputs = [
3435
fixup-yarn-lock
36+
writableTmpDirAsHomeHook
3537
yarn
3638
nodejs
3739
pkg-config
@@ -43,8 +45,6 @@ stdenv.mkDerivation (finalAttrs: {
4345
configurePhase = ''
4446
runHook preConfigure
4547
46-
export HOME="$(mktemp -d)"
47-
4848
yarn config --offline set yarn-offline-mirror ${lib.escapeShellArg finalAttrs.offlineCache}
4949
fixup-yarn-lock yarn.lock
5050
substituteInPlace yarn.lock \

0 commit comments

Comments
 (0)