From ea4630bf97ad139ccced271ab269a310ffd84301 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Thu, 25 Aug 2011 08:06:09 +0000 Subject: [PATCH] Allow RUN+="socket:..." in udev rules svn path=/nixos/trunk/; revision=28808 --- modules/services/hardware/udev.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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