Merge pull request #80722 from mmahut/libfido2

libfido2: evaluate systemd only on Linux
This commit is contained in:
Marek Mahut 2020-02-21 15:49:56 +01:00 committed by GitHub
commit 94fbb7b418
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ];