about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2024-01-24 11:16:06 +0100
committerNaïm Favier <n@monade.li>2024-01-24 11:17:23 +0100
commitb568b8df52eb2151b0c6da3605a5134726480cdb (patch)
treee11787aa0d0d5109ae26fb9c46c2588b282e3e23 /pkgs/development/haskell-modules
parent1deacca27e1c4fe24ca86e66fa531507e273f819 (diff)
downloadnixlib-b568b8df52eb2151b0c6da3605a5134726480cdb.tar
nixlib-b568b8df52eb2151b0c6da3605a5134726480cdb.tar.gz
nixlib-b568b8df52eb2151b0c6da3605a5134726480cdb.tar.bz2
nixlib-b568b8df52eb2151b0c6da3605a5134726480cdb.tar.lz
nixlib-b568b8df52eb2151b0c6da3605a5134726480cdb.tar.xz
nixlib-b568b8df52eb2151b0c6da3605a5134726480cdb.tar.zst
nixlib-b568b8df52eb2151b0c6da3605a5134726480cdb.zip
haskellPackages.niv: add patches
Diffstat (limited to 'pkgs/development/haskell-modules')
-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 e33762d55728..d950d3000fc9 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -2889,6 +2889,21 @@ self: super: {
     ghc-syntax-highlighter = self.ghc-syntax-highlighter_0_0_10_0;
   });
 
+  # 2024-01-24: support optparse-applicative 0.18
+  niv = appendPatches [
+    (fetchpatch {
+      # needed for the following patch to apply
+      url = "https://github.com/nmattia/niv/commit/7b76374b2b44152bfbf41fcb60162c2ce9182e7a.patch";
+      includes = [ "src/*" ];
+      hash = "sha256-3xG+GD6fUCGgi2EgS7WUpjfn6gvc2JurJcIrnyy4ys8=";
+    })
+    (fetchpatch {
+      # Update to optparse-applicative 0.18
+      url = "https://github.com/nmattia/niv/commit/290965abaa02be33b601032d850c588a6bafb1a5.patch";
+      hash = "sha256-YxUdv4r/Fx+8YxHhqEuS9uZR1XKzVCPrLmj5+AY5GRA=";
+    })
+  ] super.niv;
+
   inherit
     (let
       unbreakRepa = packageName: drv: lib.pipe drv [