diff options
author | Stanisław Pitucha <git@viraptor.info> | 2023-03-24 19:30:47 +1100 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-03-24 20:23:26 -0300 |
commit | cbb3c7139fb7994f98ce399d355126b9620ecd23 (patch) | |
tree | 6e804de614838ea7a589da05dd0048a3d63255cf | |
parent | 49d79a00b84ddcffca83d2159450c1935fa80ed8 (diff) |
robodoc: fix darwin build
The makefile tried to be clever in Darwin environments, but by accident included the same files multiple times in the `install` command. This is not allowed these days.
-rw-r--r-- | pkgs/tools/text/robodoc/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/text/robodoc/default.nix b/pkgs/tools/text/robodoc/default.nix index 015b76253a83e..83881cee29b34 100644 --- a/pkgs/tools/text/robodoc/default.nix +++ b/pkgs/tools/text/robodoc/default.nix @@ -15,12 +15,16 @@ stdenv.mkDerivation rec { sha256 = "l3prSdaGhOvXmZfCPbsZJNocO7y20zJjLQpajRTJOqE="; }; + postConfigure = lib.optionalString stdenv.isDarwin '' + substituteInPlace Docs/makefile.am \ + --replace 'man1_MANS = robodoc.1 robohdrs.1' 'man1_MANS =' + ''; + nativeBuildInputs = [ autoreconfHook ]; hardeningDisable = [ "format" ]; meta = with lib; { - broken = stdenv.isDarwin; homepage = "https://github.com/gumpu/ROBODoc"; description = "Documentation Extraction Tool"; longDescription = '' |