From fb5893edbab318119cb38eec8bad0c415ae9304f Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 15 Aug 2021 03:00:00 -0500 Subject: [PATCH] catdoc: fix build on darwin --- pkgs/tools/text/catdoc/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/text/catdoc/default.nix b/pkgs/tools/text/catdoc/default.nix index 61570a70b7d8..db57243efdc2 100644 --- a/pkgs/tools/text/catdoc/default.nix +++ b/pkgs/tools/text/catdoc/default.nix @@ -16,6 +16,12 @@ stdenv.mkDerivation rec { }) ]; + # Remove INSTALL file to avoid `make` misinterpreting it as an up-to-date + # target on case-insensitive filesystems e.g. Darwin + preInstall = '' + rm -v INSTALL + ''; + configureFlags = [ "--disable-wordview" ]; meta = with lib; {