From 07905c8f93b444acd231adf9559dc55b2dc6fc73 Mon Sep 17 00:00:00 2001 From: Leon Isenberg Date: Tue, 7 Mar 2017 20:45:22 +0100 Subject: [PATCH] haskell: ghcjs packages: fix ghcjs-dom-jsffi with newer Cabal --- pkgs/development/haskell-modules/configuration-ghcjs.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index e4a4f74907a8..bea914354de0 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; });