anchor.diff:        
         # Add the udev rules from other packages.
         for i in ${toString cfg.packages}; do
  +        echo "Add rules for package $i"
           for j in $i/*/udev/rules.d/*; do
  -          ln -s $j $out/$(basename $j)
  +          ln -sv $j $out/$(basename $j)
           done
         done
   
  
positive.code:       shopt -s nullglob
  
        # Use all the default udev rules.
        cp ${udev}/libexec/rules.d/*.rules $out/
  
        # Set a reasonable $PATH for programs called by udev rules.
        echo 'ENV{PATH}="${pkgs.coreutils}/bin:${pkgs.gnused}/bin:${pkgs.utillinux}/bin"' > $out/00-path.rules
  
negative.code:           ''
              echo "" > /proc/sys/kernel/hotplug
  
              mkdir -pv /var/lib/udev/rules.d
  
              # Do the loading of additional stage 2 kernel modules.
              # Maybe this isn't the best place...
  