anchor.diff:  let
     inherit (lib) optional optionals;
   
  -in mkDerivation rec {
  +in
  +mkDerivation rec {
     pname = "obs-studio";
     version = "27.0.0";
   
  
positive.code:     ./Change-product_version-to-user_agent_product.patch
    ];
  
    nativeBuildInputs = [ addOpenGLRunpath cmake pkg-config ];
  
    buildInputs = [
      curl
  
negative.code:     wayland
      x264
      libvlc
      mbedtls
    ]
    ++ optionals scriptingSupport [ luajit python3 ]
    ++ optional alsaSupport alsa-lib
    ++ optional pulseaudioSupport libpulseaudio
    ++ optional pipewireSupport pipewire;
  