summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorAycan iRiCAN <iricanaycan@gmail.com>2016-08-06 14:29:01 +0300
committerGitHub <noreply@github.com>2016-08-06 14:29:01 +0300
commit983ab7be1e1e8efe922d076f6c2f1ee7aa27f394 (patch)
treeeeecea1c1b290485b74b1d2aedb932ac2bdefeae /pkgs/development/haskell-modules/configuration-common.nix
parent231ed9edd9f3bc142e878dc22d47c25c793a4ac1 (diff)
downloadnixpkgs-983ab7be1e1e8efe922d076f6c2f1ee7aa27f394.tar
nixpkgs-983ab7be1e1e8efe922d076f6c2f1ee7aa27f394.tar.gz
nixpkgs-983ab7be1e1e8efe922d076f6c2f1ee7aa27f394.tar.bz2
nixpkgs-983ab7be1e1e8efe922d076f6c2f1ee7aa27f394.tar.lz
nixpkgs-983ab7be1e1e8efe922d076f6c2f1ee7aa27f394.tar.xz
nixpkgs-983ab7be1e1e8efe922d076f6c2f1ee7aa27f394.tar.zst
nixpkgs-983ab7be1e1e8efe922d076f6c2f1ee7aa27f394.zip
haskellPackages.hans: fixed major version bugs (#17555)
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 1cd4e15b4e9..53d810372a4 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";
+      })];
+  });
 }