xterm: patch from alpine to fix pty on musl

+7 -2
+7 -2
pkgs/applications/misc/xterm/default.nix
··· 1 - { stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig, makeWrapper 1 + { stdenv, fetchurl, fetchpatch, xorg, ncurses, freetype, fontconfig, pkgconfig, makeWrapper 2 2 , enableDecLocator ? true 3 3 }: 4 4 ··· 20 20 21 21 patches = [ 22 22 ./sixel-256.support.patch 23 - ]; 23 + ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl 24 + (fetchpatch { 25 + name = "posix-ptys.patch"; 26 + url = "https://git.alpinelinux.org/cgit/aports/plain/community/xterm/posix-ptys.patch?id=3aa532e77875fa1db18c7fcb938b16647031bcc1"; 27 + sha256 = "0czgnsxkkmkrk1idw69qxbprh0jb4sw3c24zpnqq2v76jkl7zvlr"; 28 + }); 24 29 25 30 configureFlags = [ 26 31 "--enable-wide-chars"