mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
sane-backends: more accurate systemd support check
As opposed to conditioning it on isLinux.
This commit is contained in:
parent
05b767cfc0
commit
6c76fd5f51
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
net-snmp,
|
net-snmp,
|
||||||
curl,
|
curl,
|
||||||
systemd,
|
systemd,
|
||||||
|
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
|
||||||
libxml2,
|
libxml2,
|
||||||
poppler,
|
poppler,
|
||||||
gawk,
|
gawk,
|
||||||
|
@ -111,6 +112,8 @@ stdenv.mkDerivation rec {
|
||||||
libieee1284
|
libieee1284
|
||||||
libv4l
|
libv4l
|
||||||
net-snmp
|
net-snmp
|
||||||
|
]
|
||||||
|
++ lib.optionals withSystemd [
|
||||||
systemd
|
systemd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue