From 91137380e6d9ac975a521dbd54abaac3cbc25d69 Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Tue, 28 Mar 2023 11:07:28 -0700 Subject: [PATCH] buildDunePackage: use `--mandir` instead of `--man` --- pkgs/build-support/ocaml/dune.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/ocaml/dune.nix b/pkgs/build-support/ocaml/dune.nix index 81f1010e467..7b602e2507d 100644 --- a/pkgs/build-support/ocaml/dune.nix +++ b/pkgs/build-support/ocaml/dune.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation ({ runHook preInstall dune install --prefix $out --libdir $OCAMLFIND_DESTDIR ${pname} \ ${if lib.versionAtLeast Dune.version "2.9" - then "--docdir $out/share/doc --man $out/share/man" + then "--docdir $out/share/doc --mandir $out/share/man" else ""} runHook postInstall '';