Merge pull request #159316 from georgyo/chromium_krb5

This commit is contained in:
Sandro 2022-08-19 15:10:29 +02:00 committed by GitHub
commit fea8433edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
, glib, gtk3, gnome, gsettings-desktop-schemas, gn, fetchgit
, libva, pipewire, wayland
, gcc, nspr, nss, runCommand
, lib
, lib, libkrb5
# package customization
# Note: enable* flags should not require full rebuilds (i.e. only affect the wrapper)
@ -169,13 +169,16 @@ in stdenv.mkDerivation {
# needed for XDG_ICON_DIRS
gnome.adwaita-icon-theme
# Needed for kerberos at runtime
libkrb5
];
outputs = ["out" "sandbox"];
buildCommand = let
browserBinary = "${chromiumWV}/libexec/chromium/chromium";
libPath = lib.makeLibraryPath [ libva pipewire wayland gtk3 ];
libPath = lib.makeLibraryPath [ libva pipewire wayland gtk3 libkrb5 ];
in with lib; ''
mkdir -p "$out/bin"