buildDunePackage: add a “useDune2” option

This commit is contained in:
Vincent Laporte
2020-03-23 09:12:50 +01:00
committed by Vincent Laporte
parent 3c4c703368
commit 0229936bbe
8 changed files with 25 additions and 15 deletions
@@ -1,5 +1,5 @@
{ stdenv
, buildDune2Package
, buildDunePackage
, dune-configurator
, fetchFromGitHub
, alcotest
@@ -11,10 +11,10 @@
, npy
}:
buildDune2Package rec {
buildDunePackage rec {
pname = "owl";
inherit (owl-base) version src meta;
inherit (owl-base) version src meta useDune2;
checkInputs = [ alcotest ];
buildInputs = [ dune-configurator ];