systemd: use upstream patch to fix building with util-linux 2.32

See linked PR.
This commit is contained in:
Will Dietz 2018-04-29 16:46:36 -05:00
parent 0a74845ce3
commit b341529a35

View file

@ -151,6 +151,14 @@ in stdenv.mkDerivation rec {
--replace "SYSTEMD_CGROUP_AGENT_PATH" "_SYSTEMD_CGROUP_AGENT_PATH"
'';
patches = [
# https://github.com/systemd/systemd/pull/8580
(fetchpatch {
url = https://github.com/systemd/systemd/pull/8580.patch;
sha256 = "1yp07hlpgqq0h2y0qc3kasswzkycz6p8d56d695ck1qa2f5bdfgn";
})
];
hardeningDisable = [ "stackprotector" ];
NIX_CFLAGS_COMPILE =