anchor.diff:          # see pkgs/applications/misc/adobe-reader/builder.sh
           patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
                    --set-rpath "$out:$libPath"                                   \
  -                 $out/DiscordCanary
  +                 $out/Discord
   
  -        paxmark m $out/DiscordCanary
  +        paxmark m $out/Discord
   
  -        ln -s $out/DiscordCanary $out/bin/
  +        ln -s $out/Discord $out/bin/
           ln -s $out/discord.png $out/share/pixmaps
   
           # Putting udev in the path won't work :(
  
positive.code: stdenv.mkDerivation rec {
  
      pname = "discord";
      version = "0.0.13";
      name = "${pname}-${version}";
  
      src = fetchurl {
          url = "https://cdn-canary.discordapp.com/apps/linux/${version}/${pname}-canary-${version}.tar.gz";
          sha256 = "1pwb8y80z1bmfln5wd1vrhras0xygd1j15sib0g9vaig4mc55cs6";
      };
  
      libPath = stdenv.lib.makeLibraryPath [
  
negative.code: 
      desktopItem = makeDesktopItem {
        name = pname;
        exec = "Discord";
        icon = pname;
        desktopName = "Discord";
        genericName = meta.description;
        categories = "Network;InstantMessaging;";
      };
  