aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/hex
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-09-05 16:11:47 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2018-09-15 19:32:32 +0000
commitfc19401d67b9ffb1cb6a8cc870c5e1d800dc73e4 (patch)
tree752fb6ac7c0edf9a82887fa6943dc47db2ecdaf1 /pkgs/development/ocaml-modules/hex
parenteb429c7c545e4759b170402796a8a4e7d22a0dda (diff)
jbuilder: 1.0.1 -> dune: 1.1.1
Diffstat (limited to 'pkgs/development/ocaml-modules/hex')
-rw-r--r--pkgs/development/ocaml-modules/hex/default.nix8
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 596f6a0fa531..71a9ebf9ad5d 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";