anchor.diff:    '';
   
     postFixup = ''
  +    wrapProgram $out/lib/cups/filter/hpps \
  +      --prefix PATH : "${nettools}/bin"
  +
       substituteInPlace $out/etc/hp/hplip.conf --replace /usr $out
     '' + stdenv.lib.optionalString (!withPlugin) ''
       # A udev rule to notify users that they need the binary plugin.
  
positive.code: { stdenv, fetchurl, substituteAll
  , pkgconfig
  , cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils
  , net_snmp, openssl, polkit
  , bash, coreutils, utillinux
  , qtSupport ? true
  , withPlugin ? false
  
negative.code:     sha256 = "1y3wdax2wb6kdd8bi40wl7v9s8ffyjz95bz42sjcpzzddmlhcaxg";
    };
  
    hplipState = substituteAll {
      inherit version;
      src = ./hplip.state;
    };
  
    hplipPlatforms = {
      "i686-linux"   = "x86_32";
      "x86_64-linux" = "x86_64";
      "armv6l-linux" = "arm32";
      "armv7l-linux" = "arm32";
    };
  
    hplipArch = hplipPlatforms."${stdenv.system}"
      or (throw "HPLIP not supported on ${stdenv.system}");
  