summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-07-04 17:51:13 +0200
committerPeter Simons <simons@cryp.to>2018-07-04 19:14:18 +0200
commit1d587c2e66f44e84fd203ea5c7631b6ab2e37496 (patch)
treede64e7ec6c4afc395f74e9c64ad5839c771dbbed /pkgs/development/haskell-modules/configuration-common.nix
parent81a85ae4862f619fa3af04a829f7bf619e048299 (diff)
downloadnixlib-1d587c2e66f44e84fd203ea5c7631b6ab2e37496.tar
nixlib-1d587c2e66f44e84fd203ea5c7631b6ab2e37496.tar.gz
nixlib-1d587c2e66f44e84fd203ea5c7631b6ab2e37496.tar.bz2
nixlib-1d587c2e66f44e84fd203ea5c7631b6ab2e37496.tar.lz
nixlib-1d587c2e66f44e84fd203ea5c7631b6ab2e37496.tar.xz
nixlib-1d587c2e66f44e84fd203ea5c7631b6ab2e37496.tar.zst
nixlib-1d587c2e66f44e84fd203ea5c7631b6ab2e37496.zip
hledger-ui: fix build with ghc 8.4.x
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index dfc67240632c..c3b04c22c2aa 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -989,7 +989,7 @@ self: super: {
       cp -v embeddedfiles/*.info* $out/share/info/
     '';
   });
-  hledger-ui = overrideCabal super.hledger-ui (drv: {
+  hledger-ui = (overrideCabal super.hledger-ui (drv: {
     postInstall = ''
       for i in $(seq 1 9); do
         for j in *.$i; do
@@ -999,8 +999,8 @@ self: super: {
       done
       mkdir -p $out/share/info
       cp -v *.info* $out/share/info/
-    '';
-  });
+    '';  # hledger-ui 1.10 needs newer fsnotify than lts-11 provides.
+  })).overrideScope (self: super: { fsnotify = self.fsnotify_0_3_0_1; });
   hledger-web = overrideCabal super.hledger-web (drv: {
     postInstall = ''
       for i in $(seq 1 9); do