Shell variables in cmakeFlags are not expanded, so the rules instead ended up in `$out/'$out'/etc/udev/rules.d`.