From 983ab7be1e1e8efe922d076f6c2f1ee7aa27f394 Mon Sep 17 00:00:00 2001 From: Aycan iRiCAN Date: Sat, 6 Aug 2016 14:29:01 +0300 Subject: [PATCH] haskellPackages.hans: fixed major version bugs (#17555) --- .../haskell-modules/configuration-common.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1cd4e15b4e91..53d810372a44 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -946,4 +946,19 @@ self: super: { url = "https://github.com/commercialhaskell/stack/commit/7f7f1a5f67f4ecdd1f3009495f1ff101dd38047e.patch"; sha256 = "1yh2g45mkfpwxq0vyzcbc4nbxh6wmb2xpp0k7r5byd8jicgvli29"; }); + + # https://github.com/GaloisInc/HaNS/pull/12 + hans = overrideCabal super.hans (drv: { + src = pkgs.fetchFromGitHub { + owner = "GaloisInc"; + repo = "HaNS"; + rev = "53e4af3ee46fc06b31754cec620209a81bbef456"; + sha256 = "079205fqglzhh931h4n7qlrih18117m3w82ih19b8ygr55ps4ldj"; + }; + doHaddock = false; + patches = [(pkgs.fetchpatch { + url = "https://patch-diff.githubusercontent.com/raw/GaloisInc/HaNS/pull/12.patch"; + sha256 = "0xa5b7i9wx32ji0zzlh1a1pws677iffby3bg39kv3c9srdb4by1g"; + })]; + }); }