ocamlPackages.xenstore-tool: fix for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-07-24 07:14:55 +02:00 committed by Vincent Laporte
parent 5bd5a25808
commit 6f3cf1c1a8

View file

@ -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";