anchor.diff: -{ lib, stdenv, fetchurl, autoPatchelfHook, makeWrapper
  -, alsaLib, xorg, libjack2
  -, gtk3, pango, gdk-pixbuf, cairo, glib, freetype
  -, libpulseaudio, xdg_utils
  +{ config, lib, stdenv
  +, fetchurl
  +, autoPatchelfHook
  +, makeWrapper
  +
  +, alsaLib
  +, gtk3
  +, lame
  +, ffmpeg
  +, vlc
  +
  +, jackSupport ? true, libjack2
  +, pulseaudioSupport ? config.pulseaudio or true, libpulseaudio
   }:
   
   stdenv.mkDerivation rec {
  
positive.code:       --integrate-user-desktop
      rm $out/opt/REAPER/uninstall-reaper.sh
  
      wrapProgram $out/opt/REAPER/reaper \
        --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libpulseaudio libjack2 ]}"
  
      mkdir $out/bin
      ln -s $out/opt/REAPER/reaper $out/bin/
  
negative.code: 
    buildInputs = [
      alsaLib
      stdenv.cc.cc.lib # reaper and libSwell need libstdc++.so.6
      gtk3
    ];
  
    runtimeDependencies = [
      gtk3 # libSwell needs libgdk-3.so.0
    ]
    ++ lib.optional jackSupport libjack2
    ++ lib.optional pulseaudioSupport libpulseaudio;
  
    dontBuild = true;
  
  