ocamlPackages.cppo: use Dune 3
This commit is contained in:
parent
96791f64e9
commit
0da20416ae
2 changed files with 6 additions and 3 deletions
|
@ -23,7 +23,7 @@ buildDunePackage rec {
|
|||
inherit pname;
|
||||
version = "1.6.9";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml-community";
|
||||
|
|
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue