anchor.diff:      ++ optional vaapiSupport       libva
       ++ optional drmSupport         libdrm
       ++ optional vapoursynthSupport vapoursynth
  +    ++ optional archiveSupport     libarchive
       ++ optionals dvdnavSupport     [ libdvdnav libdvdnav.libdvdread ]
       ++ optionals x11Support        [ libX11 libXext mesa libXxf86vm ]
       ++ optionals waylandSupport    [ wayland libxkbcommon ];
  
positive.code:     "--disable-libmpv-static"
      "--disable-static-build"
      "--disable-build-date" # Purity
      (enableFeature vaapiSupport "vaapi")
      (enableFeature waylandSupport "wayland")
    ];
  
negative.code:     ln -s ${freefont_ttf}/share/fonts/truetype/FreeSans.ttf $out/share/mpv/subfont.ttf
      # Ensure youtube-dl is available in $PATH for MPV
      wrapProgram $out/bin/mpv \
        --add-flags "--scripts=${concatStringsSep "," scripts}" \
    '' + optionalString youtubeSupport ''
        --prefix PATH : "${youtube-dl}/bin" \
    '' + optionalString vapoursynthSupport ''
  