Commit 6c76fd5f authored by Alyssa Ross's avatar Alyssa Ross
Browse files

sane-backends: more accurate systemd support check

As opposed to conditioning it on isLinux.
parent 05b767cf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
  net-snmp,
  curl,
  systemd,
  withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
  libxml2,
  poppler,
  gawk,
@@ -111,6 +112,8 @@ stdenv.mkDerivation rec {
      libieee1284
      libv4l
      net-snmp
    ]
    ++ lib.optionals withSystemd [
      systemd
    ];