summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-10-31 09:34:26 -0700
committerJohn Wiegley <johnw@newartisans.com>2015-10-31 09:34:26 -0700
commitcdfb08b9c6d3035c7379c63268109cd5f0431bad (patch)
tree5b729bfa60791f51ef843d1a163b9d9dff604d3d /pkgs/development/haskell-modules/configuration-common.nix
parent8f97ad7b3c7643b3845e61d7792013aa9b8ada3d (diff)
downloadnixlib-cdfb08b9c6d3035c7379c63268109cd5f0431bad.tar
nixlib-cdfb08b9c6d3035c7379c63268109cd5f0431bad.tar.gz
nixlib-cdfb08b9c6d3035c7379c63268109cd5f0431bad.tar.bz2
nixlib-cdfb08b9c6d3035c7379c63268109cd5f0431bad.tar.lz
nixlib-cdfb08b9c6d3035c7379c63268109cd5f0431bad.tar.xz
nixlib-cdfb08b9c6d3035c7379c63268109cd5f0431bad.tar.zst
nixlib-cdfb08b9c6d3035c7379c63268109cd5f0431bad.zip
haskellPackages.c2hs: Disable tests on Darwin
The tests require gcc, but gcc is no longer available on Darwin systems.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 61e7ecdc686e..ca6373ded940 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -48,6 +48,7 @@ self: super: {
   text_1_2_0_4 = dontCheck super.text_1_2_0_4;
   text_1_2_0_6 = dontCheck super.text_1_2_0_6;
   text = dontCheck super.text;
+  c2hs = if pkgs.stdenv.isDarwin then dontCheck super.c2hs else super.c2hs;
 
   # The package doesn't compile with ruby 1.9, which is our default at the moment.
   hruby = super.hruby.override { ruby = pkgs.ruby_2_1; };