anchor.diff: -{ stdenv, fetchurl, glibc, cups, libusb, ghostscript }:
  +{ stdenv, fetchurl, glibc, cups, libusb, libxml2, ghostscript }:
   
   let
   
  
positive.code:   buildInputs = [
      cups
      libusb
    ];
  
    phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
  
    installPhase = ''
  
  
negative.code:   '';
  
    preFixup = ''
      for bin in "$out/bin/"*; do
        patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$bin"
        patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$bin"
      done
  
      patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$out/lib/libscmssc.so"
      patchelf --set-rpath "$out/lib:${libxml2.out}/lib:${libusb.out}/lib" "$out/lib/sane/libsane-smfp.so.1.0.1"
  
      ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/
    '';
  
    # all binaries are already stripped
  