From 1ea0a243d2b5558dc4dc441d6775d12671d32b00 Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Fri, 21 Feb 2020 13:53:27 +0100 Subject: [PATCH] libfido2: evaluate systemd only on Linux --- pkgs/development/libraries/libfido2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libfido2/default.nix b/pkgs/development/libraries/libfido2/default.nix index 9736f0b15332..32d19283974c 100644 --- a/pkgs/development/libraries/libfido2/default.nix +++ b/pkgs/development/libraries/libfido2/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ cmake pkgconfig ]; - buildInputs = [ libcbor libressl udev ]; + buildInputs = [ libcbor libressl ] ++ stdenv.lib.optionals stdenv.isLinux [ udev ]; cmakeFlags = [ "-DUDEV_RULES_DIR=${placeholder "out"}/etc/udev/rules.d" ];