fix evaluation on non-Linux, should fix tarball

This commit is contained in:
Vladimír Čunát
2013-06-17 22:06:36 +02:00
parent 0f7e530c9d
commit afdc7fdfb6
3 changed files with 9 additions and 5 deletions
+3 -1
View File
@@ -3,6 +3,8 @@
, glib, kbd, libxslt, coreutils, libgcrypt, sysvtools, docbook_xsl
}:
assert stdenv.isLinux;
stdenv.mkDerivation rec {
version = "203";
name = "systemd-${version}";
@@ -24,7 +26,7 @@ stdenv.mkDerivation rec {
./0009-Start-ctrl-alt-del.target-irreversibly.patch
] ++ stdenv.lib.optional stdenv.isArm ./libc-bug-accept4-arm.patch;
buildInputs = assert stdenv.gcc.libc or null != null; # assertion here, so it doesn't trigger on passthru.headers
buildInputs =
[ pkgconfig intltool gperf libcap dbus.libs kmod xz pam acl
/* cryptsetup */ libuuid m4 glib libxslt libgcrypt docbook_xsl
];