ocamlPackages.xenstore-tool: fix for OCaml ≥ 5.0
This commit is contained in:
parent
5bd5a25808
commit
6f3cf1c1a8
@ -1,13 +1,15 @@
|
|||||||
{ buildDunePackage, xenstore_transport, xenstore, lwt }:
|
{ buildDunePackage, camlp-streams, xenstore_transport, xenstore, lwt }:
|
||||||
|
|
||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "xenstore-tool";
|
pname = "xenstore-tool";
|
||||||
|
|
||||||
inherit (xenstore_transport) src version;
|
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 // {
|
meta = xenstore_transport.meta // {
|
||||||
description = "Command line tool for interfacing with xenstore";
|
description = "Command line tool for interfacing with xenstore";
|
||||||
|
Loading…
Reference in New Issue
Block a user