anchor.diff:      "-Dbluez5-gstreamer=${if (!libOnly && bluetoothSupport && advancedBluetoothCodecs) then "enabled" else "disabled"}"
       "-Ddatabase=simple"
       "-Ddoxygen=false"
  -    "-Ddbus=${if stdenv.isLinux then "enabled" else "disabled"}"
       "-Delogind=disabled"
  -    "-Dglib=${if stdenv.isLinux then "enabled" else "disabled"}"
       # gsettings does not support cross-compilation
       "-Dgsettings=${if stdenv.isLinux && (stdenv.buildPlatform == stdenv.hostPlatform) then "enabled" else "disabled"}"
       "-Dgstreamer=disabled"
  
positive.code:     "-Dlirc=${if remoteControlSupport then "enabled" else "disabled"}"
      "-Dopenssl=${if airtunesSupport then "enabled" else "disabled"}"
      "-Dorc=disabled"
      "-Doss-output=${if stdenv.isLinux then "enabled" else "disabled"}"
      "-Dsystemd=${if useSystemd && !libOnly then "enabled" else "disabled"}"
      "-Dtcpwrap=disabled"
      "-Dudev=${if !libOnly then "enabled" else "disabled"}"
  
negative.code:     # Install sysconfdir files inside of the nix store,
      # but use a conventional runtime sysconfdir outside the store
      ./add-option-for-installation-sysconfdir.patch
    ] ++ lib.optionals stdenv.isDarwin [
      # https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/654
      ./0001-Make-gio-2.0-optional-when-gsettings-is-disabled.patch
  
  