anchor.diff:    installPhase = ''
       mkdir -p "$out/bin"
       cp -a usr/* "$out/"
  -    interpreter="$(echo ${stdenv.glibc.out}/lib/ld-linux*)"
  -    patchelf --set-interpreter "$interpreter" "$out/bin/xidel"
  -    patchelf --set-rpath "${stdenv.lib.makeLibraryPath [stdenv.glibc]}" "$out/bin/xidel"
  +    patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$out/bin/xidel"
     '';
   
     meta = with stdenv.lib; {
  
positive.code:       }
      else throw "xidel is not supported on ${stdenv.system}";
  
    buildInputs = [ dpkg patchelf ];
  
    unpackPhase = ''
      dpkg-deb -x ${src} ./
  
negative.code:     # source contains no license info (AFAICS), but sourceforge says GPLv2
      license = licenses.gpl2;
      # more platforms will be supported when we switch to source build
      platforms = platforms.linux;
      maintainers = [ maintainers.bjornfor ];
    };
  }
  