Unverified Commit 895ad18c authored by Mikael Voss's avatar Mikael Voss
Browse files

akkoma-frontends.akkoma-fe: use writableTmpDirAsHomeHook

parent 7f12f8cf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  fetchFromGitea,
  fetchYarnDeps,
  writableTmpDirAsHomeHook,
  fixup-yarn-lock,
  yarn,
  nodejs,
@@ -30,6 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
  };

  nativeBuildInputs = [
    writableTmpDirAsHomeHook
    fixup-yarn-lock
    yarn
    nodejs
@@ -49,8 +51,6 @@ stdenv.mkDerivation (finalAttrs: {
  configurePhase = ''
    runHook preConfigure

    export HOME="$(mktemp -d)"

    yarn config --offline set yarn-offline-mirror ${lib.escapeShellArg finalAttrs.offlineCache}
    fixup-yarn-lock yarn.lock