anchor.diff:    prePatch = ''
       # HPLIP hardcodes absolute paths everywhere. Nuke from orbit.
       find . -type f -exec sed -i \
  -      -e s,/etc/hp,$out/etc/hp, \
  -      -e s,/etc/sane.d,$out/etc/sane.d, \
  -      -e s,/usr/include/libusb-1.0,${libusb1.dev}/include/libusb-1.0, \
  -      -e s,/usr/share/hal/fdi/preprobe/10osvendor,$out/share/hal/fdi/preprobe/10osvendor, \
  -      -e s,/usr/lib/systemd/system,$out/lib/systemd/system, \
  -      -e s,/var/lib/hp,$out/var/lib/hp, \
  +      -e s,/etc/hp,$out/etc/hp,g \
  +      -e s,/etc/sane.d,$out/etc/sane.d,g \
  +      -e s,/usr/include/libusb-1.0,${libusb1.dev}/include/libusb-1.0,g \
  +      -e s,/usr/share/hal/fdi/preprobe/10osvendor,$out/share/hal/fdi/preprobe/10osvendor,g \
  +      -e s,/usr/lib/systemd/system,$out/lib/systemd/system,g \
  +      -e s,/var/lib/hp,$out/var/lib/hp,g \
         {} +
     '';
   
  
positive.code:       --with-systraydir=$out/xdg/autostart
        --with-mimedir=$out/etc/cups
        --enable-policykit
      "
  
      export makeFlags="
  
negative.code: 
      mkdir -p $out/var/lib/hp
      cp ${hplipState} $out/var/lib/hp/hplip.state
  
      rm $out/etc/udev/rules.d/56-hpmud.rules
    '';
  