nixpkgs-suyu/nixos/modules/services/hardware
aszlig 80983bbe54
nixos/udev: Provide a better warning for FHS paths
We were trying to find FHS references in all of the rules found in
services.udev.packages. Unfortunately we're still fixing up paths in the
same derivation where we are checking those references, so for example
references to /sbin/modprobe were still printed to be needed to fixup
even though they were already fixed at the time.

So now we're printing a more helpful warning message which is also
conditional (before the warning message was printed regardless of
whether there are any rules that need fixup) and is based off the rules
that were already fixed up.

The new warning message not only contains the build-local rule files but
also the original files from other store paths and the FHS path
references that were still found.

With 8ecd3a5e1d reverted, we now get this:

/nix/store/...-udev-rules/63-md-raid-arrays.rules (originally from
 /nix/store/...-mdadm-3.3.4/lib/udev/rules.d/63-md-raid-arrays.rules)
 contains references to /usr/bin/readlink and /usr/bin/basename.

Which is now more accurate to what is not yet fixed and where it's
coming from.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-02-03 15:48:52 +01:00
..
80-net-setup-link.rules Fix filename for udev network interface rules 2014-12-05 17:32:36 +01:00
acpid.nix Rewrite acpid module in a more generic way 2016-01-21 20:08:14 +01:00
actkbd.nix nixos: add actkbd package to environment in actkbd module 2015-11-12 21:05:07 +00:00
amd-hybrid-graphics.nix Get all lib functions from lib, not pkgs.lib, in modules 2014-07-02 12:28:18 -04:00
bluetooth.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
brltty.nix Brltty service: simplified systemd service definition, now it matches 2015-09-09 22:40:12 +02:00
freefall.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
irqbalance.nix irqbalance: init at 1.1.0 2016-01-08 12:37:43 +01:00
nvidia-optimus.nix Get all lib functions from lib, not pkgs.lib, in modules 2014-07-02 12:28:18 -04:00
pcscd.nix pcscd: Refactor service and use socket activation 2014-04-19 14:37:31 +01:00
pommed.nix jobs -> systemd.services 2016-01-07 06:39:06 +00:00
sane.nix saneBackends{,Git} -> sane-backends{,-git} 2016-01-03 03:31:38 +01:00
tcsd.nix tcsd module: adjust default value of kernelPCRs 2015-08-02 22:55:45 +02:00
thermald.nix thermald needs dbus config files to run 2014-11-06 15:19:33 +02:00
thinkfan.nix thinkfan levels option to control actuation points 2016-01-02 04:49:58 -05:00
tlp.nix tlp: use module_init_tools, avoid recompilation for nixos 2015-12-05 00:54:09 +03:00
udev.nix nixos/udev: Provide a better warning for FHS paths 2016-02-03 15:48:52 +01:00
udisks2.nix udisks2: fix udev rules file (close #11743) 2015-12-22 08:09:34 +01:00
upower.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00