flake: Exclude udev from devshell on !linux

This commit is contained in:
Sam W 2022-10-12 14:39:36 +01:00
parent 63c86ab80e
commit 84c9742531
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
(rust-bin.nightly.latest.default.override {extensions = ["rls"];})
udev
(pkgs.lib.optional pkgs.stdenv.isLinux udev)
pkgconfig
mosquitto # For testing mqtt with mosquitto_pub
];