From 972571d8b178baef64c6b68e20dd97dd0fc5a5c7 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 12 Jan 2021 20:48:57 +0100 Subject: [PATCH] ocamlPackages.rope: use dune install --- pkgs/development/ocaml-modules/rope/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/rope/default.nix b/pkgs/development/ocaml-modules/rope/default.nix index 84e042bf7d26..481342e98c7a 100644 --- a/pkgs/development/ocaml-modules/rope/default.nix +++ b/pkgs/development/ocaml-modules/rope/default.nix @@ -9,7 +9,9 @@ let param = buildInputs = [ dune ]; extra = { buildPhase = "dune build -p rope"; - inherit (dune) installPhase; + installPhase = '' + dune install --prefix $out --libdir $OCAMLFIND_DESTDIR rope + ''; }; } else { version = "0.5";