at-spi2-core: use availableOn
Commit 221f2fe693
used `isLinux` to
control systemd inclusion; let's use `availableOn` for more accurate
results.
This commit is contained in:
parent
83a39a0abe
commit
e0caa91427
|
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||||
libXi
|
libXi
|
||||||
# libXext is a transitive dependency of libXi
|
# libXext is a transitive dependency of libXi
|
||||||
libXext
|
libXext
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform systemd) [
|
||||||
# libsystemd is a needed for dbus-broker support
|
# libsystemd is a needed for dbus-broker support
|
||||||
systemd
|
systemd
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue