systemd: apply patch to fix #18158
See: - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834367 - https://github.com/systemd/systemd/issues/3842
This commit is contained in:
parent
5824b9c0e7
commit
a1c24ab976
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, intltool, gperf, libcap, kmod
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, intltool, gperf, libcap, kmod
|
||||
, zlib, xz, pam, acl, cryptsetup, libuuid, m4, utillinux, libffi
|
||||
, glib, kbd, libxslt, coreutils, libgcrypt, libgpgerror, libapparmor, audit, lz4
|
||||
, kexectools, libmicrohttpd, linuxHeaders ? stdenv.cc.libc.linuxHeaders, libseccomp
|
||||
|
@ -20,6 +20,14 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "021b7filp1dlhic1iv54b821w7mj5595njvzns939pmn636ry4m5";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes tty issues, see #18158. Remove when upgrading to systemd 232.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/systemd/systemd/commit/bd64d82c1c0e3fe2a5f9b3dd9132d62834f50b2d.patch";
|
||||
sha256 = "1gc9fxdlnfmjhbi77xfwcb5mkhryjsdi0rmbh2lq2qq737iyqqwm";
|
||||
})
|
||||
];
|
||||
|
||||
/* gave up for now!
|
||||
outputs = [ "out" "libudev" "doc" ]; # maybe: "dev"
|
||||
# note: there are many references to ${systemd}/...
|
||||
|
|
Loading…
Reference in a new issue