Change:
Describe the bug To Reproduce Steps to reproduce the behavior: vagrant on latest master error Expected behavior Builds Screenshots If applicable, add screenshots to help explain your problem. Additional context Add any other context about the problem here. Metadata system: host os: multi-user?: sandbox: version: channels(maciej): nixpkgs: Maintainer information:
Broken in . I don't know anything about ocaml, so I'm not well qualified to fix this. CC
Apologies for breaking . Thanks for reporting this issue; PR should fix it.

Discussion:
}; nativeBuildInputs = [ autoreconfHook ]; <del> buildInputs = with ocamlPackages; [ ocaml findlib ocaml_extlib ocaml_libvirt ocaml_gettext curses csv xml-light ]; </del> <ins> buildInputs = with ocamlPackages; [ ocaml findlib ocaml_extlib ocaml_libvirt gettext-stub curses csv xml-light ]; </ins> buildPhase = "make opt";

systemd fuse yajl libvirt gmp readline file hivex numactl xen libapparmor getopt perlPackages.ModuleBuild ] ++ (with perlPackages; [ perl libintl_perl GetoptLong SysVirt ]) <del> ++ (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml_libvirt ocaml_gettext ounit ]) </del> <ins> ++ (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml_libvirt gettext-stub ounit ]) </ins> ++ stdenv.lib.optional javaSupport jdk; prePatch = ''

<del> { stdenv, fetchurl, ocaml, findlib, camlp4, ounit, gettext, fileutils, camomile }: </del> <ins> { lib, fetchurl, buildDunePackage, gettext, fileutils, ounit }: </ins> <del> stdenv.mkDerivation rec { name = "ocaml${ocaml.version}-gettext-${version}"; version = "0.3.8"; </del> <ins> buildDunePackage rec { pname = "gettext"; version = "0.4.1"; minimumOCamlVersion = "4.03"; </ins> src = fetchurl { <del> url = "https://forge.ocamlcore.org/frs/download.php/1731/ocaml-gettext-${version}.tar.gz"; sha256 = "05wnpxwzzpn2qinah2wb5wzfh5iz8gyf8jyihdbjxc8mk4hf70qv"; </del> <ins> url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz"; sha256 = "0pwy6ym5fd77mdbgyas8x86vbrri9cgk79g8wxdjplhyi7zhh158"; </ins> }; <del> propagatedBuildInputs = [ gettext fileutils camomile ]; buildInputs = [ ocaml findlib camlp4 ounit ]; postPatch = stdenv.lib.optionalString (camlp4 != null) '' substituteInPlace test/test.ml                  --replace "+camlp4" "${camlp4}/lib/ocaml/${ocaml.version}/site-lib/camlp4" substituteInPlace ocaml-gettext/OCamlGettext.ml --replace "+camlp4" "${camlp4}/lib/ocaml/${ocaml.version}/site-lib/camlp4" substituteInPlace ocaml-gettext/Makefile        --replace "+camlp4" "${camlp4}/lib/ocaml/${ocaml.version}/site-lib/camlp4" substituteInPlace ocaml-gettext/Makefile        --replace "unix.cma" "" substituteInPlace libgettext-ocaml/Makefile     --replace "+camlp4" "${camlp4}/lib/ocaml/${ocaml.version}/site-lib/camlp4" substituteInPlace libgettext-ocaml/Makefile     --replace "$(shell ocamlc -where)" "${camlp4}/lib/ocaml/${ocaml.version}/site-lib" ''; </del> <ins> propagatedBuildInputs = [ gettext fileutils ]; </ins> <del> configureFlags = [ "--disable-doc" ]; </del> <ins> doCheck = true; </ins> <del> createFindlibDestdir = true; </del> <ins> checkInputs = lib.optional doCheck ounit; </ins> dontStrip = true; <del> meta = with stdenv.lib; { </del> <ins> meta = with lib; { </ins> description = "OCaml Bindings to gettext"; <del> homepage = https://forge.ocamlcore.org/projects/ocaml-gettext; license = licenses.gpl2; </del> <ins> homepage = "https://github.com/gildor478/ocaml-gettext"; license = licenses.lgpl21; </ins> maintainers = [ maintainers.volth ]; <del> platforms = ocaml.meta.platforms or []; </del> }; }

<ins> { lib, buildDunePackage, ocaml_gettext, ounit }: buildDunePackage rec { pname = "gettext-stub"; inherit (ocaml_gettext) src version meta; propagatedBuildInputs = [ ocaml_gettext ]; doCheck = true; checkInputs = lib.optional doCheck ounit; } </ins>

ocaml_gettext = callPackage ../development/ocaml-modules/ocaml-gettext { }; <ins> gettext-stub = callPackage ../development/ocaml-modules/ocaml-gettext/stub.nix { }; </ins> ocamlgraph = callPackage ../development/ocaml-modules/ocamlgraph { }; ocaml_http = callPackage ../development/ocaml-modules/http { };