nixpkgs/nixos
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
..
doc/manual nixos-manual: Further simplify stripAnyPrefixes 2016-01-29 20:14:11 +01:00
lib waitForUnit: Fail if the unit reaches inactive state with no pending jobs 2015-12-30 15:17:52 +01:00
maintainers Hack to parallelize AMI copying 2015-09-29 14:54:12 +02:00
modules nixos/udev: Provide a better warning for FHS paths 2016-02-03 15:48:52 +01:00
tests Don't make chromium-beta/dev release blockers 2016-02-03 11:49:50 +01:00
COPYING Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
default.nix Add a way to pin a NixOS version within the module system. 2015-11-19 20:58:45 +00:00
README Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
release-combined.nix nixos/tests/networking: Add a test for loopback 2015-12-18 07:09:42 +01:00
release-small.nix release-small.nix: Drop the grub1 test 2015-08-11 13:51:55 +02:00
release.nix Revert "Merge #12357: nixos docs: show references to packages" 2016-02-03 12:16:33 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.