From bd9f128cc2a150a53ff3b63eba485f940d02d61a Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Wed, 24 Feb 2016 13:33:07 -0800 Subject: add darwin.libiconv to ghcjs packages --- pkgs/development/haskell-modules/configuration-ghcjs.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/development/haskell-modules') diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index ac7a30d4cfb0..5c14fe788f7a 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -19,8 +19,12 @@ self: super: postPatch = '' ${pkgs.autoconf}/bin/autoreconf --install --force --verbose ''; + buildTools = pkgs.lib.optional pkgs.stdenv.isDarwin pkgs.darwin.libiconv; }); + network = addBuildTools super.network (pkgs.lib.optional pkgs.stdenv.isDarwin pkgs.darwin.libiconv); + zlib = addBuildTools super.zlib (pkgs.lib.optional pkgs.stdenv.isDarwin pkgs.darwin.libiconv); + # LLVM is not supported on this GHC; use the latest one. inherit (pkgs) llvmPackages; -- cgit 1.4.1