summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghcjs.nix
diff options
context:
space:
mode:
authorLeon Isenberg <leon.isenberg@t-online.de>2017-03-07 20:45:22 +0100
committerLeon Isenberg <leon.isenberg@t-online.de>2017-03-08 16:28:54 +0100
commit07905c8f93b444acd231adf9559dc55b2dc6fc73 (patch)
treeb4e8ebe7b80ff53eb5661171114bc35c57b3c489 /pkgs/development/haskell-modules/configuration-ghcjs.nix
parentfeab711f84f32ff92978b971585026ed247e3a98 (diff)
downloadnixpkgs-07905c8f93b444acd231adf9559dc55b2dc6fc73.tar
nixpkgs-07905c8f93b444acd231adf9559dc55b2dc6fc73.tar.gz
nixpkgs-07905c8f93b444acd231adf9559dc55b2dc6fc73.tar.bz2
nixpkgs-07905c8f93b444acd231adf9559dc55b2dc6fc73.tar.lz
nixpkgs-07905c8f93b444acd231adf9559dc55b2dc6fc73.tar.xz
nixpkgs-07905c8f93b444acd231adf9559dc55b2dc6fc73.tar.zst
nixpkgs-07905c8f93b444acd231adf9559dc55b2dc6fc73.zip
haskell: ghcjs packages: fix ghcjs-dom-jsffi with newer Cabal
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghcjs.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghcjs.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix
index e4a4f74907a..bea914354de 100644
--- a/pkgs/development/haskell-modules/configuration-ghcjs.nix
+++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix
@@ -126,7 +126,8 @@ self: super:
   });
 
   ghcjs-dom-jsffi = overrideCabal super.ghcjs-dom-jsffi (drv: {
-    libraryHaskellDepends = [ self.ghcjs-base self.text ];
+    setupHaskellDepends = (drv.setupHaskellDepends or []) ++ [ self.Cabal_1_24_2_0 ];
+    libraryHaskellDepends = (drv.libraryHaskellDepends or []) ++ [ self.ghcjs-base self.text ];
     isLibrary = true;
   });