anchor.diff:                  ${modprobe}/sbin/modprobe $i || true
               done
   
  -            mkdir -p /dev/.udev # !!! bug in udev?
  +            mkdir -pv /dev/.udev # !!! bug in udev?
             '';
   
           daemonType = "fork";
  
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:       
        # 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 -sv $j $out/$(basename $j)
          done
        done
  
  