anchor.diff:  , cddaSupport ? false
     , libcdio          ? null
     , libcdio-paranoia ? null
  +
  +, vulkanSupport ? stdenv.isLinux
  +  , shaderc ? null
  +  , vulkan-headers ? null
  +  , vulkan-loader ? null
   
   , alsaSupport        ? true,  alsaLib       ? null
   , bluraySupport      ? true,  libbluray     ? null
  
positive.code:     ++ optionals dvdnavSupport     [ libdvdnav libdvdnav.libdvdread ]
      ++ optionals waylandSupport    [ wayland wayland-protocols libxkbcommon ]
      ++ optionals x11Support        [ libX11 libXext libGLU_combined libXxf86vm libXrandr ]
      ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
        CoreFoundation Cocoa CoreAudio
      ]);
  
negative.code:   '';
  
    # Ensure youtube-dl is available in $PATH for mpv
    wrapperFlags =
    let
      getPath  = type : "${luasocket}/lib/lua/${lua.luaversion}/?.${type};" +
                        "${luasocket}/share/lua/${lua.luaversion}/?.${type}";
  