anchor.diff:      libconfig
       libpulseaudio
       soxr
  -  ];
  +  ] ++ optional stdenv.isLinux glib;
  +
  +  prePatch = ''
  +    sed -i -e 's/G_BUS_TYPE_SYSTEM/G_BUS_TYPE_SESSION/g' dbus-service.c
  +    sed -i -e 's/G_BUS_TYPE_SYSTEM/G_BUS_TYPE_SESSION/g' mpris-service.c
  +  '';
   
     enableParallelBuilding = true;
   
  
positive.code:     "--with-avahi" "--with-ssl=openssl" "--with-soxr"
      "--without-configfiles"
      "--sysconfdir=/etc"
    ];
  
    meta = with lib; {
      inherit (src.meta) homepage;
  
negative.code: { lib, stdenv, fetchFromGitHub
  , autoreconfHook, pkg-config
  , openssl, avahi, alsa-lib, glib, libdaemon, popt, libconfig, libpulseaudio, soxr
  , enableDbus ? stdenv.isLinux
  , enableMetadata ? false
  , enableMpris ? stdenv.isLinux
  }:
  
  with lib;
  stdenv.mkDerivation rec {
    version = "3.3.9";
    pname = "shairport-sync";
  