about summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-03-20 10:28:28 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-03-26 14:17:50 +0100
commit7a2426ca7762c52b4b3753e091b89092579202f0 (patch)
tree57b85d784dc5159f3b68f0e11655495db0be20a9 /pkgs/development/tools/ocaml
parent98dcfed615f1b822edafffc6c128f7322f26f8f6 (diff)
downloadnixlib-7a2426ca7762c52b4b3753e091b89092579202f0.tar
nixlib-7a2426ca7762c52b4b3753e091b89092579202f0.tar.gz
nixlib-7a2426ca7762c52b4b3753e091b89092579202f0.tar.bz2
nixlib-7a2426ca7762c52b4b3753e091b89092579202f0.tar.lz
nixlib-7a2426ca7762c52b4b3753e091b89092579202f0.tar.xz
nixlib-7a2426ca7762c52b4b3753e091b89092579202f0.tar.zst
nixlib-7a2426ca7762c52b4b3753e091b89092579202f0.zip
dune: move into ocamlPackages
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/dune/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/ocaml/dune/default.nix b/pkgs/development/tools/ocaml/dune/default.nix
index be7a488e96e8..80aeb17bef31 100644
--- a/pkgs/development/tools/ocaml/dune/default.nix
+++ b/pkgs/development/tools/ocaml/dune/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, ocamlPackages, opaline }:
+{ stdenv, fetchurl, ocaml, findlib, opaline }:
 
 stdenv.mkDerivation rec {
   name = "dune-${version}";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
     sha256 = "1lbgnmzdgb3cp2k2wfhhm5zwlm6dbipab49lh308y2qmh1q6yk6a";
   };
 
-  buildInputs = with ocamlPackages; [ ocaml findlib ];
+  buildInputs = [ ocaml findlib ];
 
   buildFlags = "release";
 
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
     description = "A composable build system";
     maintainers = [ stdenv.lib.maintainers.vbgl ];
     license = stdenv.lib.licenses.mit;
-    inherit (ocamlPackages.ocaml.meta) platforms;
+    inherit (ocaml.meta) platforms;
   };
 }