summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2020-12-18 20:17:45 +0100
committerPeter Simons <simons@cryp.to>2020-12-18 20:27:54 +0100
commit0e5f7e8d00ba461de269944d063430a9d04fd93d (patch)
tree94b5ebda908378261bcd475b9861d84b5cd5c0f5
parenta4530367944e55dbbd1d127123f3519b7483bc54 (diff)
hledger-web: set $HOME to $TMP so that the test suite to succeeds
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 74b0882f4cbd..30a9420b2bbf 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -896,6 +896,7 @@ self: super: {
'';
});
hledger-web = overrideCabal super.hledger-web (drv: {
+ preCheck = "export HOME=$TMPDIR";
postInstall = ''
for i in $(seq 1 9); do
for j in *.$i; do