We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 895ad18 commit 5aba2e7Copy full SHA for 5aba2e7
pkgs/servers/akkoma/admin-fe/default.nix
@@ -3,6 +3,7 @@
3
stdenv,
4
fetchFromGitea,
5
fetchYarnDeps,
6
+ writableTmpDirAsHomeHook,
7
fixup-yarn-lock,
8
yarn,
9
nodejs,
@@ -32,6 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
32
33
34
nativeBuildInputs = [
35
fixup-yarn-lock
36
+ writableTmpDirAsHomeHook
37
yarn
38
nodejs
39
pkg-config
@@ -43,8 +45,6 @@ stdenv.mkDerivation (finalAttrs: {
43
45
configurePhase = ''
44
46
runHook preConfigure
47
- export HOME="$(mktemp -d)"
-
48
yarn config --offline set yarn-offline-mirror ${lib.escapeShellArg finalAttrs.offlineCache}
49
fixup-yarn-lock yarn.lock
50
substituteInPlace yarn.lock \
0 commit comments