Skip to content

Commit

Permalink
add errors package override
Browse files Browse the repository at this point in the history
  • Loading branch information
James Thompson committed Aug 25, 2015
1 parent f44526f commit d571a22
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 7 additions & 0 deletions config.nix
@@ -0,0 +1,7 @@
{
packageOverrides = pkgs: rec {
haskellPackages = with pkgs.haskellPackages; pkgs.haskellPackages // rec {
errors = callPackage ./errors.nix {};
};
};
}
5 changes: 2 additions & 3 deletions default.nix
@@ -1,7 +1,7 @@
{ mkDerivation, aeson, attoparsec, base, base16-bytestring
, base64-bytestring, blaze-builder, byteable, bytestring
, case-insensitive, cereal, conduit, conduit-extra, containers
, cryptohash, data-default, directory, errors-1_4_7, filepath
, cryptohash, data-default, directory, errors, filepath
, http-client, http-conduit, http-types, lifted-base, monad-control
, mtl, network, old-locale, QuickCheck, quickcheck-instances
, resourcet, safe, scientific, stdenv, tagged, tasty
Expand All @@ -23,11 +23,10 @@ mkDerivation {
unordered-containers utf8-string vector xml-conduit
];
testDepends = [
aeson base bytestring errors-1_4_7 http-client lifted-base monad-control
aeson base bytestring errors http-client lifted-base monad-control
mtl QuickCheck quickcheck-instances resourcet tagged tasty
tasty-quickcheck text time transformers transformers-base
];
jailbreak = true;
homepage = "http://github.com/aristidb/aws";
description = "Amazon Web Services (AWS) for Haskell";
license = stdenv.lib.licenses.bsd3;
Expand Down
9 changes: 9 additions & 0 deletions errors.nix
@@ -0,0 +1,9 @@
{ mkDerivation, base, either, safe, stdenv, transformers }:
mkDerivation {
pname = "errors";
version = "1.4.7";
sha256 = "09g53dylwsw1phxq5zhkbq8pnpwqzipvqclmcrdypzkpwkmfncl7";
buildDepends = [ base either safe transformers ];
description = "Simplified error-handling";
license = stdenv.lib.licenses.bsd3;
}

0 comments on commit d571a22

Please sign in to comment.