libfido2: evaluate systemd only on Linux
This commit is contained in:
parent
448c671a62
commit
1ea0a243d2
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user