about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/nocrypto
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-11-27 19:08:40 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-11-27 20:49:18 +0000
commitbfc0959511519af01c9f04ff171fd188f81d731d (patch)
tree98f0202acacf6f6e8841e483df51e09c4fcf7091 /pkgs/development/ocaml-modules/nocrypto
parente7f4979270fc5a1ca02c398eece1d88c36758e04 (diff)
ocamlPackages.cstruct: 2.3.2 -> 3.0.2
Diffstat (limited to 'pkgs/development/ocaml-modules/nocrypto')
-rw-r--r--pkgs/development/ocaml-modules/nocrypto/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/nocrypto/default.nix b/pkgs/development/ocaml-modules/nocrypto/default.nix
index c68584957c662..a7fa59e14469a 100644
--- a/pkgs/development/ocaml-modules/nocrypto/default.nix
+++ b/pkgs/development/ocaml-modules/nocrypto/default.nix
@@ -1,11 +1,11 @@
 { stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, opam, topkg
 , cpuid, ocb-stubblr
 , cstruct, zarith, ppx_sexp_conv, sexplib
-, lwt ? null
+, cstruct-lwt ? null
 }:
 
 with stdenv.lib;
-let withLwt = lwt != null; in
+let withLwt = cstruct-lwt != null; in
 
 stdenv.mkDerivation rec {
   name = "ocaml${ocaml.version}-nocrypto-${version}";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ ocaml findlib ocamlbuild topkg opam cpuid ocb-stubblr
     ppx_sexp_conv ];
-  propagatedBuildInputs = [ cstruct zarith sexplib ] ++ optional withLwt lwt;
+  propagatedBuildInputs = [ cstruct zarith sexplib ] ++ optional withLwt cstruct-lwt;
 
   buildPhase = ''
     LD_LIBRARY_PATH=${cpuid}/lib/ocaml/${ocaml.version}/site-lib/stubslibs/ \