From 6be6397aa1affa14ad95af5c35c3456cc1a6e2a8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 Sep 2015 16:39:44 +0200 Subject: [PATCH] ghcjs: import gtk2hs-buildtools from the regular Haskell package set The tool is required for ghcjs builds, but ghcjs cannot compile it itself, obviously, because it's written in C. --- pkgs/development/haskell-modules/configuration-ghcjs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index 94c9305e759..3a689105c1c 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -7,7 +7,7 @@ self: super: { # LLVM is not supported on this GHC; use the latest one. inherit (pkgs) llvmPackages; - inherit (pkgs.haskell.packages.ghc7102) jailbreak-cabal alex happy; + inherit (pkgs.haskell.packages.ghc7102) jailbreak-cabal alex happy gtk2hs-buildtools; # Many packages fail with: # haddock: internal error: expectJust getPackageDetails