Merge pull request #130484 from SuperSandro2000/mdcat

mdcat: fix wezterm detection through TERM

authored by Sandro and committed by GitHub 28425b4e 3be51a3f

+9
+9
pkgs/tools/text/mdcat/default.nix
··· 8 8 , Security 9 9 , ansi2html 10 10 , installShellFiles 11 + , fetchpatch 11 12 }: 12 13 13 14 rustPlatform.buildRustPackage rec { ··· 20 21 rev = "mdcat-${version}"; 21 22 sha256 = "sha256-aJ7rL+EKa5zWmCmekVuRmdeOwTmVo0IQ+GJ8Ga4iTI0="; 22 23 }; 24 + 25 + patches = [ 26 + # detect wezterm through TERM again which was removed in 0.23.1 27 + (fetchpatch { 28 + url = "https://github.com/lunaryorn/mdcat/commit/a897b223904748a47c277f7c9a07d59e7d5c916b.patch"; 29 + sha256 = "sha256-tSeNyrlqoGvlfQ3xMRkvqZ7HajMvPCIk7kyt/sVjmTo="; 30 + }) 31 + ]; 23 32 24 33 nativeBuildInputs = [ pkg-config asciidoctor installShellFiles ]; 25 34 buildInputs = [ openssl ]