about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/uchar
diff options
context:
space:
mode:
authorAntonio Nuno Monteiro <anmonteiro@gmail.com>2020-01-11 23:25:50 -0800
committerVincent Laporte <vbgl@users.noreply.github.com>2020-01-13 11:22:40 +0100
commit10c8978b6b3868ae56cc6fb7dff0d330e2018966 (patch)
tree9bb79cf4624dac949ea366a53b63f3f93922c85d /pkgs/development/ocaml-modules/uchar
parentae0239c28b01782df259e3ab0997c05fc34d61f7 (diff)
downloadnixlib-10c8978b6b3868ae56cc6fb7dff0d330e2018966.tar
nixlib-10c8978b6b3868ae56cc6fb7dff0d330e2018966.tar.gz
nixlib-10c8978b6b3868ae56cc6fb7dff0d330e2018966.tar.bz2
nixlib-10c8978b6b3868ae56cc6fb7dff0d330e2018966.tar.lz
nixlib-10c8978b6b3868ae56cc6fb7dff0d330e2018966.tar.xz
nixlib-10c8978b6b3868ae56cc6fb7dff0d330e2018966.tar.zst
nixlib-10c8978b6b3868ae56cc6fb7dff0d330e2018966.zip
ocamlPackages.uchar: don't depend on opaline at runtime
Diffstat (limited to 'pkgs/development/ocaml-modules/uchar')
-rw-r--r--pkgs/development/ocaml-modules/uchar/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/uchar/default.nix b/pkgs/development/ocaml-modules/uchar/default.nix
index 2140871021da..b5b2170e56ab 100644
--- a/pkgs/development/ocaml-modules/uchar/default.nix
+++ b/pkgs/development/ocaml-modules/uchar/default.nix
@@ -8,10 +8,10 @@ stdenv.mkDerivation {
     sha256 = "1w2saw7zanf9m9ffvz2lvcxvlm118pws2x1wym526xmydhqpyfa7";
   };
 
-  nativeBuildInputs = [ ocaml ocamlbuild findlib opaline ];
-  buildInputs = [ findlib ocaml ocamlbuild opaline ];
+  nativeBuildInputs = [ ocaml ocamlbuild findlib ];
+  buildInputs = [ findlib ocaml ocamlbuild ];
   buildPhase = "ocaml pkg/build.ml native=true native-dynlink=${if withShared then "true" else "false"}";
-  installPhase = "opaline -libdir $OCAMLFIND_DESTDIR";
+  installPhase = "${opaline}/bin/opaline -libdir $OCAMLFIND_DESTDIR";
   configurePlatforms = [];
 
   meta = {