diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2015-12-23 02:59:47 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-01-30 16:36:57 +0000 |
commit | 954e9903adc837c201a7bd70eede50d874aadbf6 (patch) | |
tree | 2e73f91504f4970cb2ae6bdb08115267eb634ced /pkgs/development/haskell-modules/configuration-common.nix | |
parent | c5f092c6a7f20ddca7d1b2ddc2cb8eb6b02d2eaf (diff) | |
download | nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.gz nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.bz2 nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.lz nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.xz nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.zst nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.zip |
Use a hardened stdenv by default
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1f746802c7b..1982ca21802 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -44,7 +44,11 @@ self: super: { options_1_2 = dontCheck super.options_1_2; options = dontCheck super.options; statistics = dontCheck super.statistics; - c2hs = if pkgs.stdenv.isDarwin then dontCheck super.c2hs else super.c2hs; + c2hs = let c2hs_ = pkgs.stdenv.lib.overrideDerivation super.c2hs (drv: { + noHardening_format = true; + 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. hruby = super.hruby.override { ruby = pkgs.ruby_2_1; }; |