anchor.diff:  assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
   
   let 
  -  version = "0.8.4.103"; 
  +  version = "0.8.8.323"; 
     qt4webkit = 
       if stdenv.system == "i686-linux" then
         fetchurl {
  
positive.code:   src =
      if stdenv.system == "i686-linux" then
        fetchurl {
          url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_${version}.g9cb177b.260-1_i386.deb";
          sha256 = "1iri6pgavgb06nx0l3myqryx7zd7cf22my8vh2v6w4kbvaajjl31";
        }
      else if stdenv.system == "x86_64-linux" then
        fetchurl {
          url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_${version}.g9cb177b.260-1_amd64.deb";
          sha256 = "0y5kyfa1gk16d9z67hgssam8hgzw6g5f7xsxk0lz3ak487xdwl6k";
        }
      else throw "Spotify not supported on this platform.";
  
  
negative.code:       ln -s ${nspr}/lib/libnspr4.so $out/lib/libnspr4.so.0d
        ln -s ${nspr}/lib/libplc4.so $out/lib/libplc4.so.0d
  
        mkdir -p $out/bin
  
        ln -s $out/spotify-client/spotify $out/bin/spotify
        patchelf \
          --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
          --set-rpath $out/lib:$out/spotify-client:${stdenv.lib.makeLibraryPath [ xlibs.libXScrnSaver xlibs.libX11 qt4 alsaLib stdenv.gcc.gcc freetype glib pango cairo atk gdk_pixbuf gtk GConf cups sqlite]}:${stdenv.gcc.gcc}/lib64 \
          $out/spotify-client/spotify
  
        dpkg-deb -x ${qt4webkit} ./
        mkdir -p $out/lib/
  