1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

haskellPackages.c2hs: fix evaluation

This commit is contained in:
Robin Gloster 2016-02-21 11:39:41 +00:00
parent 27e8d31b1a
commit 0102e69707

View file

@ -44,11 +44,9 @@ self: super: {
options_1_2 = dontCheck super.options_1_2; options_1_2 = dontCheck super.options_1_2;
options = dontCheck super.options; options = dontCheck super.options;
statistics = dontCheck super.statistics; statistics = dontCheck super.statistics;
c2hs = let c2hs_ = pkgs.stdenv.lib.overrideDerivation super.c2hs (drv: { c2hs = pkgs.lib.overrideDerivation (dontCheck super.c2hs) (drv: {
hardening_format = false; hardening_format = false;
doCheck = false; });
});
in if pkgs.stdenv.isDarwin then dontCheck c2hs_ else c2hs_;
# The package doesn't compile with ruby 1.9, which is our default at the moment. # 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; }; hruby = super.hruby.override { ruby = pkgs.ruby_2_1; };