systemd: add optional python support
This commit is contained in:
parent
cdac4b69c9
commit
09dd6a64fc
@ -1,11 +1,13 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, gperf, libcap, dbus, kmod
|
||||
, xz, pam, acl, cryptsetup, libuuid, m4, utillinux
|
||||
, glib, kbd, libxslt, coreutils, libgcrypt, sysvtools, docbook_xsl
|
||||
, kexectools
|
||||
, kexectools, python ? null, pythonSupport ? false
|
||||
}:
|
||||
|
||||
assert stdenv.isLinux;
|
||||
|
||||
assert pythonSupport -> python != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "203";
|
||||
name = "systemd-${version}";
|
||||
@ -25,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs =
|
||||
[ pkgconfig intltool gperf libcap dbus.libs kmod xz pam acl
|
||||
/* cryptsetup */ libuuid m4 glib libxslt libgcrypt docbook_xsl
|
||||
];
|
||||
] ++ stdenv.lib.optional pythonSupport python;
|
||||
|
||||
configureFlags =
|
||||
[ "--localstatedir=/var"
|
||||
|
Loading…
Reference in New Issue
Block a user