diff --git a/pkgs/development/libraries/haskell/explicit-exception/default.nix b/pkgs/development/libraries/haskell/explicit-exception/default.nix new file mode 100644 index 000000000000..efa2f2fb7ddc --- /dev/null +++ b/pkgs/development/libraries/haskell/explicit-exception/default.nix @@ -0,0 +1,16 @@ +{ cabal, transformers }: + +cabal.mkDerivation (self: { + pname = "explicit-exception"; + version = "0.1.6"; + sha256 = "0pgdbaav952bwcmbfwg0fgvc15k57rlnw131bs3pnp8rqdbxfv39"; + isLibrary = true; + isExecutable = true; + buildDepends = [ transformers ]; + meta = { + homepage = "http://www.haskell.org/haskellwiki/Exception"; + description = "Exceptions which are explicit in the type signature"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 9a7c7cab1f7c..70338b6bbea8 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -647,6 +647,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); erf = callPackage ../development/libraries/haskell/erf {}; + explicitException = callPackage ../development/libraries/haskell/explicit-exception {}; + filepath = callPackage ../development/libraries/haskell/filepath {}; extensibleExceptions_0_1_1_0 = callPackage ../development/libraries/haskell/extensible-exceptions/0.1.1.0.nix {};