anchor.diff:            ''
               echo "" > /proc/sys/kernel/hotplug
   
  -            mkdir -p /var/lib/udev/rules.d
  +            mkdir -pv /var/lib/udev/rules.d
   
               # Do the loading of additional stage 2 kernel modules.
               # Maybe this isn't the best place...
  
positive.code:       
        # Add the udev rules from other packages.
        for i in ${toString cfg.packages}; do
          for j in $i/*/udev/rules.d/*; do
            ln -s $j $out/$(basename $j)
          done
        done
  
  
negative.code:       shopt -s nullglob
  
        # Use all the default udev rules.
        cp -v ${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
  