mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 06:28:50 +03:00
ocamlPackages.gapi-ocaml: clean installPhase
This commit is contained in:
parent
11b799db8b
commit
0f51d1fa59
@ -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"
|
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
||||||
then throw "gapi-ocaml is not available for OCaml ${ocaml.version}"
|
then throw "gapi-ocaml is not available for OCaml ${ocaml.version}"
|
||||||
@ -16,9 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ ocaml jbuilder findlib ];
|
buildInputs = [ ocaml jbuilder findlib ];
|
||||||
propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib yojson ocamlnet xmlm ];
|
propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib yojson ocamlnet xmlm ];
|
||||||
|
|
||||||
installPhase = "${opam}/bin/opam-installer -i --prefix=$out --libdir=$OCAMLFIND_DESTDIR";
|
inherit (jbuilder) installPhase;
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "OCaml client for google services";
|
description = "OCaml client for google services";
|
||||||
|
Loading…
Reference in New Issue
Block a user