tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
alacritty: include patch to fix PTY EIO error
oxalica
4 years ago
d9ff013d
9e81c86a
+9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
terminal-emulators
alacritty
default.nix
+9
pkgs/applications/terminal-emulators/alacritty/default.nix
···
1
{ stdenv
2
, lib
3
, fetchFromGitHub
0
4
, rustPlatform
5
6
, cmake
···
86
];
87
88
outputs = [ "out" "terminfo" ];
0
0
0
0
0
0
0
0
89
90
postPatch = ''
91
substituteInPlace alacritty/src/config/ui_config.rs \
···
1
{ stdenv
2
, lib
3
, fetchFromGitHub
4
+
, fetchpatch
5
, rustPlatform
6
7
, cmake
···
87
];
88
89
outputs = [ "out" "terminfo" ];
90
+
91
+
patches = [
92
+
# Handle PTY EIO error for Rust 1.55+
93
+
(fetchpatch {
94
+
url = "https://github.com/alacritty/alacritty/commit/58985a4dcbe464230b5d2566ee68e2d34a1788c8.patch";
95
+
sha256 = "sha256-Z6589yRrQtpx3/vNqkMiGgGsLysd/QyfaX7trqX+k5c=";
96
+
})
97
+
];
98
99
postPatch = ''
100
substituteInPlace alacritty/src/config/ui_config.rs \