dbus: only set the path for systemctl on platforms that enable it
This commit is contained in:
@@ -110,6 +110,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.mesonEnable "kqueue" (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isBSD))
|
||||
(lib.mesonEnable "launchd" stdenv.hostPlatform.isDarwin)
|
||||
"-Dselinux=disabled"
|
||||
]
|
||||
++ lib.optionals enableSystemd [
|
||||
"--cross-file=${writeText "crossfile.ini" ''
|
||||
[binaries]
|
||||
systemctl = '${systemdMinimal}/bin/systemctl'
|
||||
|
||||
Reference in New Issue
Block a user