diff --git a/pkgs/development/ocaml-modules/xenstore-tool/default.nix b/pkgs/development/ocaml-modules/xenstore-tool/default.nix index b3c8c241ae41..e75a2036642f 100644 --- a/pkgs/development/ocaml-modules/xenstore-tool/default.nix +++ b/pkgs/development/ocaml-modules/xenstore-tool/default.nix @@ -1,13 +1,15 @@ -{ buildDunePackage, xenstore_transport, xenstore, lwt }: +{ buildDunePackage, camlp-streams, xenstore_transport, xenstore, lwt }: buildDunePackage { pname = "xenstore-tool"; inherit (xenstore_transport) src version; - duneVersion = "3"; + postPatch = '' + substituteInPlace cli/dune --replace 'libraries ' 'libraries camlp-streams ' + ''; - buildInputs = [ xenstore_transport xenstore lwt ]; + buildInputs = [ camlp-streams xenstore_transport xenstore lwt ]; meta = xenstore_transport.meta // { description = "Command line tool for interfacing with xenstore";