summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-03 11:30:26 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-03 11:31:48 +0200
commitf44086409f555940afd70b638958718ff2e96f13 (patch)
treed4a3926e985171548a6065e83089718b2962cb9d /pkgs/development/haskell-modules/configuration-common.nix
parentccd936df185404c32d8d0c3791b762c5cc6d33a5 (diff)
downloadnixpkgs-f44086409f555940afd70b638958718ff2e96f13.tar
nixpkgs-f44086409f555940afd70b638958718ff2e96f13.tar.gz
nixpkgs-f44086409f555940afd70b638958718ff2e96f13.tar.bz2
nixpkgs-f44086409f555940afd70b638958718ff2e96f13.tar.lz
nixpkgs-f44086409f555940afd70b638958718ff2e96f13.tar.xz
nixpkgs-f44086409f555940afd70b638958718ff2e96f13.tar.zst
nixpkgs-f44086409f555940afd70b638958718ff2e96f13.zip
haskellPackages.gitit: fetch patch from upstream
The patch I proposed yesterday and vendored in here as a precautionary
measure in case I'd have to amend it in order for it to got merged, has
been accepted without changes.

Thus we can remove the patch file from the tree and just use fetchpatch.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 0956e55ed5d..62373615691 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1165,11 +1165,14 @@ self: super: {
   # $HOME, which we don't have in our build sandbox.
   cabal-install-parsers = dontCheck super.cabal-install-parsers;
 
-  # * jailbreak can be removed at the next release (current is 0.13.0.0)
-  # * patch fixes compilation with pandoc >= 2.12, can be removed if a
-  #   release contains https://github.com/jgm/gitit/pull/670 or equivalent.
-  #   Patch is vendored in as it may change upstream in the future.
-  gitit = doJailbreak (appendPatch super.gitit ./patches/gitit-pandoc-2.12.patch);
+  # jailbreak and patch (for pandoc >= 2.12) ensure compilation with newer dependencies.
+  # can both be removed at the next release (current is 0.13.0.0)
+  gitit = doJailbreak (appendPatch super.gitit
+    (pkgs.fetchpatch {
+      url = "https://github.com/jgm/gitit/commit/e8c9d94be332e2f73de9b0eee222a2a09f191faf.patch";
+      sha256 = "1rl2c3sz8cd2c3qwv9b640853s4bblcknvfv29k472wqhs62mwz1";
+      includes = [ "src/**" ];
+    }));
 
   # Test suite requires database
   persistent-mysql = dontCheck super.persistent-mysql;