systemd: Update to 199
This incorporates some changes from https://github.com/vcunat/nixpkgs/commit/eb64a2f5620a9ba6ac7f598694d82db0cf83e669.
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, gperf, libcap, dbus, kmod
|
||||
, xz, pam, acl, cryptsetup, libuuid, m4, utillinux
|
||||
, glib, kbd, libxslt, coreutils, libgcrypt, sysvtools
|
||||
, glib, kbd, libxslt, coreutils, libgcrypt, sysvtools, docbook_xsl
|
||||
}:
|
||||
|
||||
assert stdenv.gcc.libc or null != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "systemd-197";
|
||||
name = "systemd-199";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.freedesktop.org/software/systemd/${name}.tar.xz";
|
||||
sha256 = "1dbljyyc3w4a1af99f15f3sqnfx7mfmc5x5hwxb70kg23ai7x1g6";
|
||||
sha256 = "1vazjqi95pri5zx21gs4chyd7c8kg5lf1rc26w47zkry9yh64i4c";
|
||||
};
|
||||
|
||||
patches =
|
||||
@@ -21,12 +21,12 @@ stdenv.mkDerivation rec {
|
||||
./0005-sysinit.target-Drop-the-dependency-on-local-fs.targe.patch
|
||||
./0006-Don-t-call-plymouth-quit.patch
|
||||
./0007-Ignore-IPv6-link-local-addresses.patch
|
||||
./0008-Fix-a-segfault-in-nscd-when-using-nss-myhostname.patch
|
||||
./0008-systemd-sysctl-Handle-missing-etc-sysctl.conf-proper.patch
|
||||
] ++ stdenv.lib.optional stdenv.isArm ./libc-bug-accept4-arm.patch;
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig intltool gperf libcap dbus kmod xz pam acl
|
||||
/* cryptsetup */ libuuid m4 glib libxslt libgcrypt
|
||||
/* cryptsetup */ libuuid m4 glib libxslt libgcrypt docbook_xsl
|
||||
];
|
||||
|
||||
configureFlags =
|
||||
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
||||
NIX_CFLAGS_COMPILE =
|
||||
[ # Can't say ${polkit}/bin/pkttyagent here because that would
|
||||
# lead to a cyclic dependency.
|
||||
"-DPOLKIT_AGENT_BINARY_PATH=\"/run/current-system/sw/bin/pkttyagent\""
|
||||
"-UPOLKIT_AGENT_BINARY_PATH -DPOLKIT_AGENT_BINARY_PATH=\"/run/current-system/sw/bin/pkttyagent\""
|
||||
"-fno-stack-protector"
|
||||
# Work around our kernel headers being too old. FIXME: remove
|
||||
# this after the next stdenv update.
|
||||
@@ -81,7 +81,7 @@ stdenv.mkDerivation rec {
|
||||
# 1e1954f53386cb773e2a152748dd31c4d36aa2d8) because using /var is
|
||||
# forbidden in early boot, but in NixOS the initrd guarantees that
|
||||
# /var is mounted.
|
||||
makeFlags = "CPPFLAGS=-I${stdenv.gcc.libc}/include hwdb_bin=/var/lib/udev/hwdb.bin";
|
||||
makeFlags = "hwdb_bin=/var/lib/udev/hwdb.bin";
|
||||
|
||||
installFlags = "localstatedir=$(TMPDIR)/var sysconfdir=$(out)/etc sysvinitdir=$(TMPDIR)/etc/init.d";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user