summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/topkg/default.nix
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-05-28 06:12:16 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-06-06 07:14:21 +0000
commitc066d9dfc3c3848036ee6ea6c90622de006215b3 (patch)
tree9382e25588324c7c96504a32fadf941a23d50550 /pkgs/development/ocaml-modules/topkg/default.nix
parent853fb4598fcc96c7f27c795332d49292f871edcd (diff)
downloadnixlib-c066d9dfc3c3848036ee6ea6c90622de006215b3.tar
nixlib-c066d9dfc3c3848036ee6ea6c90622de006215b3.tar.gz
nixlib-c066d9dfc3c3848036ee6ea6c90622de006215b3.tar.bz2
nixlib-c066d9dfc3c3848036ee6ea6c90622de006215b3.tar.lz
nixlib-c066d9dfc3c3848036ee6ea6c90622de006215b3.tar.xz
nixlib-c066d9dfc3c3848036ee6ea6c90622de006215b3.tar.zst
nixlib-c066d9dfc3c3848036ee6ea6c90622de006215b3.zip
ocamlPackages.topkg: use opaline
Diffstat (limited to 'pkgs/development/ocaml-modules/topkg/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/topkg/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/topkg/default.nix b/pkgs/development/ocaml-modules/topkg/default.nix
index 9a655e055131..3ff641ff93e5 100644
--- a/pkgs/development/ocaml-modules/topkg/default.nix
+++ b/pkgs/development/ocaml-modules/topkg/default.nix
@@ -5,7 +5,7 @@ The `buildPhase` and `installPhase` attributes can be reused directly
 in many cases. When more fine-grained control on how to run the “topkg”
 build system is required, the attribute `run` can be used.
 */
-{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, result, opam }:
+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, result, opaline }:
 
 if !stdenv.lib.versionAtLeast ocaml.version "4.01"
 then throw "topkg is not available for OCaml ${ocaml.version}"
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
   unpackCmd = "tar xjf ${src}";
   buildPhase = "${run} build";
   createFindlibDestdir = true;
-  installPhase = "${opam}/bin/opam-installer -i --prefix=$out --libdir=$OCAMLFIND_DESTDIR";
+  installPhase = "${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR";
 
   passthru = { inherit run; };