diff --git a/modules/services/hardware/udev.nix b/modules/services/hardware/udev.nix index 73ec53e04e75..8715c0cb84e7 100644 --- a/modules/services/hardware/udev.nix +++ b/modules/services/hardware/udev.nix @@ -71,7 +71,7 @@ let run_progs=$(grep 'RUN+="[^/$]' $out/* | sed -e 's/.*RUN+="\([^ "]*\)[ "].*/\1/' | uniq) for i in $import_progs $run_progs; do - if [[ ! -x ${pkgs.udev}/lib/udev/$i ]]; then + if [[ ! -x ${pkgs.udev}/lib/udev/$i && ! $i =~ socket:.* ]]; then echo "FAIL" echo "$i is called in udev rules but not installed by udev" exit 1