git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.lablgtk3: fix version reporting
commit86ece896588cec5e21b76e856df35b53fbe370ad authorThéo Zimmermann <theo.zimmermann@inria.fr> dateThu 20 Jan 2022, 14:17 (5 years ago) parentb4797ea
1 file changed+6−1
pkgs/development/ocaml-modules/lablgtk3/default.nix+6−1
pkgs/development/ocaml-modules/lablgtk3/default.nix+6−1
@@ -1,4 +1,4 @@
1−{ lib, fetchFromGitHub, pkg-config, buildDunePackage, dune-configurator, gtk3, cairo2 }:
1+{ lib, fetchFromGitHub, fetchpatch, pkg-config, buildDunePackage, dune-configurator, gtk3, cairo2 }:
22
33buildDunePackage rec {
44 version = "3.1.2";
@@ -15,6 +15,11 @@ buildDunePackage rec {
1515 sha256 = "sha256:0b17w9qb1f02h3313cm62mrqlhwxficppzm72n7sf8mmwrylxbm7";
1616 };
1717
18+ patches = [ (fetchpatch {
19+ name = "dune-project.patch";
20+ url = "https://raw.githubusercontent.com/ocaml/opam-repository/10a48cb9fab88f67f6cb70280e0fec035c32d41c/packages/lablgtk3/lablgtk3.3.1.2/files/dune-project.patch";
21+ sha256 = "03jf5hclqdq7iq84djaqcnfnnnd7z3hb48rr8n1gyxzjyx86b3fh";
22+ }) ];
1823 nativeBuildInputs = [ pkg-config ];
1924 buildInputs = [ dune-configurator ];
2025 propagatedBuildInputs = [ gtk3 cairo2 ];