vivaldi: support for Kerberos authentication
libkrb5 is a dynamic (dlopen) runtime dependency. If the library is missing, Kerberos authentication silently fails. By adding it to RPATH, vivaldi (actually the chromium engine) will successfully detect the library.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
, enableWidevine ? false, widevine-cdm ? null
|
||||
, commandLineArgs ? ""
|
||||
, pulseSupport ? stdenv.isLinux, libpulseaudio
|
||||
, kerberosSupport ? true, libkrb5
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -57,7 +58,8 @@ in stdenv.mkDerivation rec {
|
||||
libdrm mesa vulkan-loader
|
||||
wayland pipewire
|
||||
] ++ lib.optional proprietaryCodecs vivaldi-ffmpeg-codecs
|
||||
++ lib.optional pulseSupport libpulseaudio;
|
||||
++ lib.optional pulseSupport libpulseaudio
|
||||
++ lib.optional kerberosSupport libkrb5;
|
||||
|
||||
libPath = lib.makeLibraryPath buildInputs
|
||||
+ lib.optionalString (stdenv.is64bit)
|
||||
|
||||
Reference in New Issue
Block a user