about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-08-18 21:21:17 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-08-18 21:22:45 -0300
commit48947b2850fb13178a98e37888516343b297f3e0 (patch)
treeaf584d4130750fd5c0cc3878587a3bd658b97b9a
parente1e4a5e540114341e97ab390e42aeecb22dec771 (diff)
downloadnixlib-48947b2850fb13178a98e37888516343b297f3e0.tar
nixlib-48947b2850fb13178a98e37888516343b297f3e0.tar.gz
nixlib-48947b2850fb13178a98e37888516343b297f3e0.tar.bz2
nixlib-48947b2850fb13178a98e37888516343b297f3e0.tar.lz
nixlib-48947b2850fb13178a98e37888516343b297f3e0.tar.xz
nixlib-48947b2850fb13178a98e37888516343b297f3e0.tar.zst
nixlib-48947b2850fb13178a98e37888516343b297f3e0.zip
himitsu-firefox: set HARECACHE
Otherwise, it tries to create the cache directory under $HOME.
-rw-r--r--pkgs/tools/security/himitsu-firefox/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/security/himitsu-firefox/default.nix b/pkgs/tools/security/himitsu-firefox/default.nix
index b46286301187..9207ca7646f8 100644
--- a/pkgs/tools/security/himitsu-firefox/default.nix
+++ b/pkgs/tools/security/himitsu-firefox/default.nix
@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
     himitsu
   ];
 
+  preConfigure = ''
+    export HARECACHE=$(mktemp -d)
+  '';
+
   buildFlags = [ "LIBEXECDIR=$(out)/libexec" ];
 
   # Only install the native component; per the docs: