mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #80722 from mmahut/libfido2
libfido2: evaluate systemd only on Linux
This commit is contained in:
commit
94fbb7b418
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue