3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #2678 from offlinehacker/pkgs/systemd/fix_python

systemd: fix python support
This commit is contained in:
Domen Kožar 2014-06-09 23:09:32 +02:00
commit 7334e38af5

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"