mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
haskell-ng: move configuration know-how out of cabal2nix and into Nixpkgs
This commit is contained in:
parent
78f3bd565a
commit
56616ec099
|
@ -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.
|
||||
|
|
|
@ -79215,7 +79215,7 @@ self: {
|
|||
|
||||
"mime-mail" = callPackage
|
||||
({ mkDerivation, base, base64-bytestring, blaze-builder, bytestring
|
||||
, filepath, hspec, process, random, sendmail ? "sendmail", text
|
||||
, filepath, hspec, process, random, text
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "mime-mail";
|
||||
|
@ -79226,7 +79226,6 @@ self: {
|
|||
random text
|
||||
];
|
||||
testDepends = [ base blaze-builder bytestring hspec text ];
|
||||
configureFlags = "--ghc-option=-DMIME_MAIL_SENDMAIL_PATH=\"${sendmail}\"";
|
||||
homepage = "http://github.com/snoyberg/mime-mail";
|
||||
description = "Compose MIME email messages";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
|
@ -114530,7 +114529,6 @@ self: {
|
|||
test-framework-hunit test-framework-quickcheck2 test-framework-th
|
||||
time tzdata unix vector
|
||||
];
|
||||
preConfigure = "export TZDIR=${tzdata}/share/zoneinfo";
|
||||
homepage = "https://github.com/nilcons/haskell-tz";
|
||||
description = "Efficient time zone handling";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
|
|
Loading…
Reference in a new issue