lol

Merge pull request #299031 from Mic92/chromium-fix-2

chromium: fix cross compilation

authored by

Jörg Thalheim and committed by
GitHub
4590d4dc c4430f13

+38 -8
+32 -8
pkgs/applications/networking/browsers/chromium/common.nix
··· 1 1 { stdenv, lib, fetchurl, fetchpatch 2 2 , recompressTarball 3 3 , buildPackages 4 + , buildPlatform 4 5 , pkgsBuildBuild 5 6 , pkgsBuildTarget 6 7 # Channel data: ··· 107 108 # "opus" 108 109 ]; 109 110 110 - opusWithCustomModes = libopus.override { 111 - withCustomModes = true; 112 - }; 113 111 114 112 # build paths and release info 115 113 packageName = extraAttrs.packageName or extraAttrs.name; ··· 168 166 buildPlatformLlvmStdenv.cc 169 167 pkg-config 170 168 libuuid 171 - (libpng.override { apngSupport = false; }) # needed for "host/generate_colors_info" 172 169 ] 173 170 # When cross-compiling, chromium builds a huge proportion of its 174 171 # components for both the `buildPlatform` (which it calls ··· 176 173 # half of the dependencies are needed here. To avoid having to 177 174 # maintain a separate list of buildPlatform-dependencies, we 178 175 # simply throw in the kitchen sink. 179 - ++ buildInputs 180 - ; 176 + # ** Because of overrides, we have to copy the list as it otherwise mess with splicing ** 177 + ++ [ 178 + (buildPackages.libpng.override { apngSupport = false; }) # https://bugs.chromium.org/p/chromium/issues/detail?id=752403 179 + (buildPackages.libopus.override { withCustomModes = true; }) 180 + bzip2 flac speex 181 + libevent expat libjpeg snappy 182 + libcap 183 + minizip libwebp 184 + libusb1 re2 185 + ffmpeg libxslt libxml2 186 + nasm 187 + nspr nss 188 + util-linux alsa-lib 189 + libkrb5 190 + glib gtk3 dbus-glib 191 + libXScrnSaver libXcursor libXtst libxshmfence libGLU libGL 192 + mesa # required for libgbm 193 + pciutils protobuf speechd libXdamage at-spi2-core 194 + pipewire 195 + libva 196 + libdrm wayland mesa.drivers libxkbcommon 197 + curl 198 + libepoxy 199 + libffi 200 + libevdev 201 + ] ++ lib.optional systemdSupport systemd 202 + ++ lib.optionals cupsSupport [ libgcrypt cups ] 203 + ++ lib.optional pulseSupport libpulseaudio; 181 204 182 205 buildInputs = [ 183 - (libpng.override { apngSupport = false; }) # https://bugs.chromium.org/p/chromium/issues/detail?id=752403 184 - bzip2 flac speex opusWithCustomModes 206 + (libpng.override { apngSupport = false; }) # https://bugs.chromium.org/p/chromium/issues/detail?id=752403 207 + (libopus.override { withCustomModes = true; }) 208 + bzip2 flac speex 185 209 libevent expat libjpeg snappy 186 210 libcap 187 211 minizip libwebp
+6
pkgs/development/python-modules/sphinx/default.nix
··· 127 127 "test_enum_class" 128 128 ]; 129 129 130 + disabledTestPaths = [ 131 + # flaky test under load: 132 + # ( index: line 2) broken http://localhost:7777/#top - HTTPConnectionPool(host='localhost', port=7777): Read timed out. (read timeout=0.05) 133 + "tests/test_build_linkcheck.py" 134 + ]; 135 + 130 136 meta = { 131 137 description = "Python documentation generator"; 132 138 longDescription = ''