anchor.diff:        librarypath="${stdenv.lib.makeLibraryPath deps}:$libdir"
         wrapProgram $out/share/spotify/spotify \
           --prefix LD_LIBRARY_PATH : "$librarypath" \
  +        --prefix LD_LIBRARY_PATH : "${apulse}/lib/apulse" \
  +        --set APULSE_PLAYBACK_DEVICE plug:dmix \
           --prefix PATH : "${gnome3.zenity}/bin"
   
         # fix Icon line in the desktop file (#48062)
  
positive.code:   # https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334
    src = fetchurl {
      url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap";
      sha512 = "859730fbc80067f0828f7e13eee9a21b13b749f897a50e17c2da4ee672785cfd79e1af6336e609529d105e040dc40f61b6189524783ac93d49f991c4ea8b3c56";
    };
  
    buildInputs = [ squashfsTools makeWrapper ];
  
negative.code: { fetchurl, stdenv, squashfsTools, xorg, alsaLib, makeWrapper, openssl, freetype
  , glib, pango, cairo, atk, gdk_pixbuf, gtk2, cups, nspr, nss, libpng, libnotify
  , libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_3, curl, zlib, gnome3
  , at-spi2-atk, at-spi2-core, apulse
  }:
  
  let
  