about summary refs log tree commit diff
path: root/pkgs/sternenseemann
diff options
context:
space:
mode:
authorsternenseemann <git@lukasepple.de>2020-05-14 10:41:11 +0200
committersternenseemann <git@lukasepple.de>2020-05-14 10:41:11 +0200
commitded8a2cd65e6e6f6262f2065e49cec57340cd6d5 (patch)
tree8ca0885697c28e9abec808de3a627a53b161a8f7 /pkgs/sternenseemann
parent4646e5b5a21672038296b88b183a205f4b99c78f (diff)
pkgs/sternenseemann/logbook: fix build for jingoo >= 1.3.0
Diffstat (limited to 'pkgs/sternenseemann')
-rw-r--r--pkgs/sternenseemann/logbook/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/sternenseemann/logbook/default.nix b/pkgs/sternenseemann/logbook/default.nix
index d3d30028..456cab9f 100644
--- a/pkgs/sternenseemann/logbook/default.nix
+++ b/pkgs/sternenseemann/logbook/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildDunePackage, fetchFromGitHub
+{ lib, buildDunePackage, fetchFromGitHub, fetchpatch
 , ocaml_lwt, jingoo, ptime, angstrom, astring, cow}:
 
 buildDunePackage rec {
@@ -15,6 +15,11 @@ buildDunePackage rec {
   buildInputs = [ cow ocaml_lwt jingoo ];
   propagatedBuildInputs = [ ptime angstrom astring ];
 
+  patches = lib.optionals (!lib.versionAtLeast "1.3.0" jingoo.version) [ (fetchpatch {
+    url = "https://github.com/sternenseemann/logbook/commit/d4ee40ada4bba55505cc55ab653e69fa5c6406e6.diff";
+    sha256 = "0dj6q2h1pxcniypx14if4gnfq7bbghsig9g51n7z2mad0fsji4sa";
+  }) ];
+
   useDune2 = true;
 
   meta = with lib; {