summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPoscat <poscat@mail.poscat.moe>2020-03-10 22:42:05 +0800
committerPeter Simons <simons@cryp.to>2020-03-13 20:24:53 +0100
commitef65c6382d59e4de825eb9bcca5911e23c312ede (patch)
tree8095d0fecbda001e86b99bb3e50a377d1c87b139 /pkgs/development/haskell-modules
parentd0eb52f5cd5cfc069d5badea95171a64db08cd16 (diff)
downloadnixpkgs-ef65c6382d59e4de825eb9bcca5911e23c312ede.tar
nixpkgs-ef65c6382d59e4de825eb9bcca5911e23c312ede.tar.gz
nixpkgs-ef65c6382d59e4de825eb9bcca5911e23c312ede.tar.bz2
nixpkgs-ef65c6382d59e4de825eb9bcca5911e23c312ede.tar.lz
nixpkgs-ef65c6382d59e4de825eb9bcca5911e23c312ede.tar.xz
nixpkgs-ef65c6382d59e4de825eb9bcca5911e23c312ede.tar.zst
nixpkgs-ef65c6382d59e4de825eb9bcca5911e23c312ede.zip
Unbreak ats-format
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix6
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix.yaml1
2 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 0077d0e56d8..16ae6e040de 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1222,6 +1222,12 @@ self: super: {
   # Requires dhall >= 1.23.0
   ats-pkg = dontCheck (super.ats-pkg.override { dhall = self.dhall_1_29_0; });
 
+  # fake a home dir and capture generated man page
+  ats-format = overrideCabal super.ats-format (old : {
+    preConfigure = "export HOME=$PWD";
+    postBuild = "mv .local/share $out";
+  });
+
   # Test suite doesn't work with current QuickCheck
   # https://github.com/pruvisto/heap/issues/11
   heap = dontCheck super.heap;
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
index 6cd11524ac9..0b585f824e4 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
@@ -2920,7 +2920,6 @@ broken-packages:
   - atomic-primops-vector
   - atomo
   - atp-haskell
-  - ats-format
   - ats-setup
   - ats-storable
   - attempt