anchor.diff:      # Force using nixpkgs dependencies
       sed -i '/MODULES += contrib/d' make/include/main.defs
       sed -i '/PKG_CONFIG_PATH=/d' gtk/module.rules
  +    sed -i 's/^[[:space:]]*\(meson\|ninja\)[[:space:]]*= ToolProbe.*$//g' make/configure.py
     '';
   
     configureFlags = [
  
positive.code: { stdenv, lib, fetchurl, fetchpatch,
    # Main build tools
    python2, pkgconfig, autoconf, automake, cmake, nasm, libtool, m4, lzma,
    # Processing, video codecs, containers
    ffmpeg-full, nv-codec-headers, libogg, x264, x265, libvpx, libtheora,
    # Codecs, audio
    libopus, lame, libvorbis, a52dec, speex, libsamplerate,
    # Text processing
  
negative.code:   ] ++ lib.optionals useGtk [ intltool wrapGAppsHook ];
  
    buildInputs = [
      ffmpeg-full libogg libtheora x264 x265 libvpx dav1d
      libopus lame libvorbis a52dec speex libsamplerate
      libiconv fribidi fontconfig freetype libass jansson libxml2 harfbuzz
      libdvdread libdvdnav libdvdcss libbluray lzma numactl
    ] ++ lib.optionals useGtk [
      glib gtk3 libappindicator-gtk3 libnotify
      gst_all_1.gstreamer gst_all_1.gst-plugins-base dbus-glib udev
  