diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 45fc2054c103..f3303548e4e0 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -25,7 +25,7 @@ , bzip2, flac, speex, libopus , libevent, expat, libjpeg, snappy , libcap -, xdg-utils, minizip, libwebp +, minizip, libwebp , libusb1, re2 , ffmpeg, libxslt, libxml2 , nasm @@ -184,9 +184,6 @@ let bzip2 flac speex opusWithCustomModes libevent expat libjpeg snappy libcap - ] ++ lib.optionals (!xdg-utils.meta.broken) [ - xdg-utils - ] ++ [ minizip libwebp libusb1 re2 ffmpeg libxslt libxml2 @@ -295,10 +292,6 @@ let '/usr/share/locale/' \ '${glibc}/share/locale/' - '' + lib.optionalString (!xdg-utils.meta.broken) '' - sed -i -e 's@"\(#!\)\?.*xdg-@"\1${xdg-utils}/bin/xdg-@' \ - chrome/browser/shell_integration_linux.cc - '' + lib.optionalString systemdSupport '' sed -i -e '/lib_loader.*Load/s!"\(libudev\.so\)!"${lib.getLib systemd}/lib/\1!' \ device/udev_linux/udev?_loader.cc