diff options
| author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-07-24 07:14:55 +0200 |
|---|---|---|
| committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-07-31 07:20:34 +0200 |
| commit | b4ddd645e94706759d443755dbec35901553f35d (patch) | |
| tree | 414b4d84b40ca19107eede4957b2759fb04130e6 | |
| parent | ocamlPackages.sosa: fix for OCaml ≥ 5.0 (diff) | |
| download | nixpkgs-b4ddd645e94706759d443755dbec35901553f35d.tar.gz | |
ocamlPackages.xenstore-tool: fix for OCaml ≥ 5.0
(cherry picked from commit bec97a4401e179358f875e1d3593d0b64aeb7853)
| -rw-r--r-- | pkgs/development/ocaml-modules/xenstore-tool/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
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"; |
