summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-05-29 05:14:44 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-05-29 05:29:04 +0000
commit0f51d1fa59c7844990765f6ce36ac7f3df5163a2 (patch)
treefd8abe91bec7fd8aedb0a06f919aba0339e87324 /pkgs
parent11b799db8bebb617fa5332112ff4a06b01f62723 (diff)
downloadnixlib-0f51d1fa59c7844990765f6ce36ac7f3df5163a2.tar
nixlib-0f51d1fa59c7844990765f6ce36ac7f3df5163a2.tar.gz
nixlib-0f51d1fa59c7844990765f6ce36ac7f3df5163a2.tar.bz2
nixlib-0f51d1fa59c7844990765f6ce36ac7f3df5163a2.tar.lz
nixlib-0f51d1fa59c7844990765f6ce36ac7f3df5163a2.tar.xz
nixlib-0f51d1fa59c7844990765f6ce36ac7f3df5163a2.tar.zst
nixlib-0f51d1fa59c7844990765f6ce36ac7f3df5163a2.zip
ocamlPackages.gapi-ocaml: clean installPhase
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/gapi-ocaml/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/ocaml-modules/gapi-ocaml/default.nix b/pkgs/development/ocaml-modules/gapi-ocaml/default.nix
index a7c32a069fc8..9c7be26503f5 100644
--- a/pkgs/development/ocaml-modules/gapi-ocaml/default.nix
+++ b/pkgs/development/ocaml-modules/gapi-ocaml/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, opam, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
+{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
 
 if !stdenv.lib.versionAtLeast ocaml.version "4.02"
 then throw "gapi-ocaml is not available for OCaml ${ocaml.version}"
@@ -16,9 +16,7 @@ stdenv.mkDerivation rec {
   buildInputs = [ ocaml jbuilder findlib ];
   propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib yojson ocamlnet xmlm ];
 
-  installPhase = "${opam}/bin/opam-installer -i --prefix=$out --libdir=$OCAMLFIND_DESTDIR";
-
-  createFindlibDestdir = true;
+  inherit (jbuilder) installPhase;
 
   meta = {
     description = "OCaml client for google services";