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
1
{ stdenv
2
2
, lib
3
3
, fetchFromGitHub
4
4
+
, fetchpatch
4
5
, rustPlatform
5
6
6
7
, cmake
···
86
87
];
87
88
88
89
outputs = [ "out" "terminfo" ];
90
90
+
91
91
+
patches = [
92
92
+
# Handle PTY EIO error for Rust 1.55+
93
93
+
(fetchpatch {
94
94
+
url = "https://github.com/alacritty/alacritty/commit/58985a4dcbe464230b5d2566ee68e2d34a1788c8.patch";
95
95
+
sha256 = "sha256-Z6589yRrQtpx3/vNqkMiGgGsLysd/QyfaX7trqX+k5c=";
96
96
+
})
97
97
+
];
89
98
90
99
postPatch = ''
91
100
substituteInPlace alacritty/src/config/ui_config.rs \