diff --git a/pkgs/development/libraries/haskell/monadcryptorandom/default.nix b/pkgs/development/libraries/haskell/monadcryptorandom/default.nix index e955bb14a727..bb0514575a86 100644 --- a/pkgs/development/libraries/haskell/monadcryptorandom/default.nix +++ b/pkgs/development/libraries/haskell/monadcryptorandom/default.nix @@ -1,10 +1,11 @@ -{ cabal, cryptoApi, mtl, tagged, transformers }: +{ cabal, fetchurl, cryptoApi, mtl, tagged, transformers }: cabal.mkDerivation (self: { pname = "monadcryptorandom"; version = "0.5.2"; sha256 = "0a0qx331c1kvhmwwam7pbbrnq8ky3spfnw6zsz6rz7g1lk1hfawn"; buildDepends = [ cryptoApi mtl tagged transformers ]; + patches = [ (fetchurl { url = "https://github.com/TomMD/monadcryptorandom/pull/5.patch"; sha256 = "1mcil5w40gfy3hjnrpbgzciz65aygqpghgma0hckjb6xa694a71l"; }) ]; meta = { homepage = "https://github.com/TomMD/monadcryptorandom"; description = "A monad for using CryptoRandomGen";