ocamlPackages.cppo: use Dune 3

This commit is contained in:
Vincent Laporte 2023-05-10 20:06:20 +02:00
parent 96791f64e9
commit 0da20416ae
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 6 additions and 3 deletions

View file

@ -23,7 +23,7 @@ buildDunePackage rec {
inherit pname;
version = "1.6.9";
useDune2 = true;
duneVersion = "3";
src = fetchFromGitHub {
owner = "ocaml-community";

View file

@ -4,10 +4,13 @@ if lib.versionOlder (lib.getVersion cppo) "1.6"
then cppo
else
buildDunePackage rec {
buildDunePackage {
pname = "cppo_ocamlbuild";
inherit (cppo) version useDune2 src;
inherit (cppo) version src;
minimalOCamlVersion = "4.03";
duneVersion = "3";
propagatedBuildInputs = [ ocamlbuild ];