Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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 2 , enableDecLocator ? true 3 }: 4 ··· 20 21 patches = [ 22 ./sixel-256.support.patch 23 - ]; 24 25 configureFlags = [ 26 "--enable-wide-chars"
··· 1 + { stdenv, fetchurl, fetchpatch, xorg, ncurses, freetype, fontconfig, pkgconfig, makeWrapper 2 , enableDecLocator ? true 3 }: 4 ··· 20 21 patches = [ 22 ./sixel-256.support.patch 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 + }); 29 30 configureFlags = [ 31 "--enable-wide-chars"