diff options
-rw-r--r-- | pkgs/development/ocaml-modules/yojson/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/yojson/default.nix b/pkgs/development/ocaml-modules/yojson/default.nix index 61d931a66cc2e..c9bf285b7bdaa 100644 --- a/pkgs/development/ocaml-modules/yojson/default.nix +++ b/pkgs/development/ocaml-modules/yojson/default.nix @@ -7,7 +7,11 @@ let url = "https://github.com/ocaml-community/yojson/releases/download/${version}/yojson-${version}.tbz"; sha256 = "08llz96if8bcgnaishf18si76cv11zbkni0aldb54k3cn7ipiqvd"; nativeBuildInputs = [ dune ]; - extra = { inherit (dune) installPhase; }; + extra = { + installPhase = '' + dune install --prefix $out --libdir $OCAMLFIND_DESTDIR ${pname} + ''; + }; } else rec { version = "1.2.3"; url = "https://github.com/ocaml-community/yojson/archive/v${version}.tar.gz"; |