diff --git a/pkgs/by-name/cc/ccze/package.nix b/pkgs/by-name/cc/ccze/package.nix index 113db4b49a07..88c9ee31abe9 100644 --- a/pkgs/by-name/cc/ccze/package.nix +++ b/pkgs/by-name/cc/ccze/package.nix @@ -39,6 +39,9 @@ stdenv.mkDerivation (finalAttrs: { autoconf ''; + # provide correct pcre2-config for cross + env.PCRE_CONFIG = lib.getExe' (lib.getDev pcre2) "pcre2-config"; + meta = with lib; { mainProgram = "ccze"; description = "Fast, modular log colorizer";