diff options
author | Peter Simons <simons@cryp.to> | 2015-01-22 14:09:24 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-01-22 22:40:21 +0100 |
commit | 56616ec0990442b2a425810f2502660c8103db28 (patch) | |
tree | f00f6df7c89f386de88db7dd69ef51ba46ae0be1 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 78f3bd565a931bd451d18590ae690dca5b9d0769 (diff) | |
download | nixpkgs-56616ec0990442b2a425810f2502660c8103db28.tar nixpkgs-56616ec0990442b2a425810f2502660c8103db28.tar.gz nixpkgs-56616ec0990442b2a425810f2502660c8103db28.tar.bz2 nixpkgs-56616ec0990442b2a425810f2502660c8103db28.tar.lz nixpkgs-56616ec0990442b2a425810f2502660c8103db28.tar.xz nixpkgs-56616ec0990442b2a425810f2502660c8103db28.tar.zst nixpkgs-56616ec0990442b2a425810f2502660c8103db28.zip |
haskell-ng: move configuration know-how out of cabal2nix and into Nixpkgs
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b67d8e7130e..57c6dab6adc 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -373,6 +373,12 @@ self: super: { descriptive = self.descriptive_0_0_2; # https://github.com/chrisdone/structured-haskell-mode/issues/94 }; + # Expect to find sendmail(1) in $PATH. + mime-mail = appendConfigureFlag super.mime-mail "--ghc-option=-DMIME_MAIL_SENDMAIL_PATH=\"sendmail\""; + + # Help the test suite find system timezone data. + tz = overrideCabal super.tz (drv: { preConfigure = "export TZDIR=${pkgs.tzdata}/share/zoneinfo"; }); + } // { # Not on Hackage yet. |