diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-09-05 16:11:47 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2018-09-15 19:32:32 +0000 |
commit | fc19401d67b9ffb1cb6a8cc870c5e1d800dc73e4 (patch) | |
tree | 752fb6ac7c0edf9a82887fa6943dc47db2ecdaf1 /pkgs/development/ocaml-modules/hex/default.nix | |
parent | eb429c7c545e4759b170402796a8a4e7d22a0dda (diff) |
jbuilder: 1.0.1 -> dune: 1.1.1
Diffstat (limited to 'pkgs/development/ocaml-modules/hex/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/hex/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/ocaml-modules/hex/default.nix b/pkgs/development/ocaml-modules/hex/default.nix index 596f6a0fa5316..71a9ebf9ad5dd 100644 --- a/pkgs/development/ocaml-modules/hex/default.nix +++ b/pkgs/development/ocaml-modules/hex/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ocaml, findlib, jbuilder, cstruct }: +{ stdenv, fetchurl, ocaml, findlib, dune, cstruct }: if !stdenv.lib.versionAtLeast ocaml.version "4.02" then throw "hex is not available for OCaml ${ocaml.version}" @@ -16,13 +16,13 @@ stdenv.mkDerivation { unpackCmd = "tar -xjf $curSrc"; - buildInputs = [ ocaml findlib jbuilder ]; + buildInputs = [ ocaml findlib dune ]; propagatedBuildInputs = [ cstruct ]; - buildPhase = "jbuilder build -p hex"; + buildPhase = "dune build -p hex"; doCheck = true; checkPhase = "jbuilder runtest"; - inherit (jbuilder) installPhase; + inherit (dune) installPhase; meta = { description = "Mininal OCaml library providing hexadecimal converters"; |