tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xterm: patch from alpine to fix pty on musl
Will Dietz
8 years ago
8fa76348
b905c0cb
+7
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
xterm
default.nix
+7
-2
pkgs/applications/misc/xterm/default.nix
···
1
1
-
{ stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig, makeWrapper
1
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
-
];
23
23
+
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl
24
24
+
(fetchpatch {
25
25
+
name = "posix-ptys.patch";
26
26
+
url = "https://git.alpinelinux.org/cgit/aports/plain/community/xterm/posix-ptys.patch?id=3aa532e77875fa1db18c7fcb938b16647031bcc1";
27
27
+
sha256 = "0czgnsxkkmkrk1idw69qxbprh0jb4sw3c24zpnqq2v76jkl7zvlr";
28
28
+
});
24
29
25
30
configureFlags = [
26
31
"--enable-wide-chars"