systemd: fix python support

This commit is contained in:
Jaka Hudoklin 2014-05-17 12:10:07 +02:00
parent b8ca39e2f2
commit 71b923fa74

View File

@ -2,13 +2,13 @@
, xz, pam, acl, cryptsetup, libuuid, m4, utillinux
, glib, kbd, libxslt, coreutils, libgcrypt, sysvtools, docbook_xsl
, kexectools, libmicrohttpd, linuxHeaders
, python ? null, pythonSupport ? false
, pythonPackages ? null, pythonSupport ? false
, autoreconfHook
}:
assert stdenv.isLinux;
assert pythonSupport -> python != null;
assert pythonSupport -> pythonPackages != null;
stdenv.mkDerivation rec {
version = "212";
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
/* cryptsetup */ libuuid m4 glib libxslt libgcrypt docbook_xsl
libmicrohttpd linuxHeaders
autoreconfHook
] ++ stdenv.lib.optional pythonSupport python;
] ++ stdenv.lib.optionals pythonSupport [pythonPackages.python pythonPackages.lxml];
configureFlags =
[ "--localstatedir=/var"