anchor.diff:      ''
         mkdir -p $out
         dpkg-deb -x $src $out
  -      mv $out/usr/* $out/
  -      rmdir $out/usr
  +      mv $out/opt/spotify/* $out/
  +      rm -rf $out/usr $out/opt
   
         # Work around Spotify referring to a specific minor version of
         # OpenSSL.
  
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: assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
  
  let 
    version = "0.8.8.323"; 
    qt4webkit = 
      if stdenv.system == "i686-linux" then
        fetchurl {
  