diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-12-01 07:49:34 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-12-01 22:02:51 +0100 |
commit | 9e66b4e873e4c7b2b6aaf5b27f15f6ec0c36f007 (patch) | |
tree | 49022bfca6d2fe293b1969da1cfad7caa6389764 /pkgs/development/ocaml-modules/angstrom | |
parent | 38a91dff4d04a004dc00ceabb833761291e2850e (diff) | |
download | nixpkgs-9e66b4e873e4c7b2b6aaf5b27f15f6ec0c36f007.tar nixpkgs-9e66b4e873e4c7b2b6aaf5b27f15f6ec0c36f007.tar.gz nixpkgs-9e66b4e873e4c7b2b6aaf5b27f15f6ec0c36f007.tar.bz2 nixpkgs-9e66b4e873e4c7b2b6aaf5b27f15f6ec0c36f007.tar.lz nixpkgs-9e66b4e873e4c7b2b6aaf5b27f15f6ec0c36f007.tar.xz nixpkgs-9e66b4e873e4c7b2b6aaf5b27f15f6ec0c36f007.tar.zst nixpkgs-9e66b4e873e4c7b2b6aaf5b27f15f6ec0c36f007.zip |
ocamlPackages.angstrom: use Dune 2
Diffstat (limited to 'pkgs/development/ocaml-modules/angstrom')
-rw-r--r-- | pkgs/development/ocaml-modules/angstrom/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/angstrom/default.nix b/pkgs/development/ocaml-modules/angstrom/default.nix index 75eb2255ee7..749a043e739 100644 --- a/pkgs/development/ocaml-modules/angstrom/default.nix +++ b/pkgs/development/ocaml-modules/angstrom/default.nix @@ -1,8 +1,9 @@ -{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, result, bigstringaf, ppx_let }: +{ lib, fetchFromGitHub, buildDunePackage, ocaml, ocaml-syntax-shims, alcotest, result, bigstringaf, ppx_let }: buildDunePackage rec { pname = "angstrom"; version = "0.15.0"; + useDune2 = true; minimumOCamlVersion = "4.04"; @@ -14,6 +15,7 @@ buildDunePackage rec { }; checkInputs = [ alcotest ppx_let ]; + buildInputs = [ ocaml-syntax-shims ]; propagatedBuildInputs = [ bigstringaf result ]; doCheck = lib.versionAtLeast ocaml.version "4.05"; |