From 6c76fd5f512e3225ecff578ded7cbe74347253cc Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 1 Jun 2025 14:46:22 +0200 Subject: [PATCH] sane-backends: more accurate systemd support check As opposed to conditioning it on isLinux. --- pkgs/applications/graphics/sane/backends/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/graphics/sane/backends/default.nix b/pkgs/applications/graphics/sane/backends/default.nix index 2777e107511a..da5ebb101fc2 100644 --- a/pkgs/applications/graphics/sane/backends/default.nix +++ b/pkgs/applications/graphics/sane/backends/default.nix @@ -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 ];