tarball: move assertion in systemd

Now the assertion doesn't trigger on systemd.headers
which is needed for dbus.libs.

This should fix the tarball job (I don't have enough RAM to test it).
This commit is contained in:
Vladimír Čunát 2013-04-24 09:02:04 +00:00
parent 49f12fe878
commit fe1bd1a73c

View file

@ -3,8 +3,6 @@
, glib, kbd, libxslt, coreutils, libgcrypt, sysvtools, docbook_xsl
}:
assert stdenv.gcc.libc or null != null;
stdenv.mkDerivation rec {
version = "201";
name = "systemd-${version}";
@ -25,7 +23,7 @@ stdenv.mkDerivation rec {
./0008-Don-t-try-to-unmount-nix-or-nix-store.patch
] ++ stdenv.lib.optional stdenv.isArm ./libc-bug-accept4-arm.patch;
buildInputs =
buildInputs = assert stdenv.gcc.libc or null != null; # assertion here, so it doesn't trigger on passthru.headers
[ pkgconfig intltool gperf libcap dbus.libs kmod xz pam acl
/* cryptsetup */ libuuid m4 glib libxslt libgcrypt docbook_xsl
];