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 { stdenv, lib, fetchurl, fetchpatch 2 , recompressTarball 3 , buildPackages 4 , pkgsBuildBuild 5 , pkgsBuildTarget 6 # Channel data: ··· 107 # "opus" 108 ]; 109 110 - opusWithCustomModes = libopus.override { 111 - withCustomModes = true; 112 - }; 113 114 # build paths and release info 115 packageName = extraAttrs.packageName or extraAttrs.name; ··· 168 buildPlatformLlvmStdenv.cc 169 pkg-config 170 libuuid 171 - (libpng.override { apngSupport = false; }) # needed for "host/generate_colors_info" 172 ] 173 # When cross-compiling, chromium builds a huge proportion of its 174 # components for both the `buildPlatform` (which it calls ··· 176 # half of the dependencies are needed here. To avoid having to 177 # maintain a separate list of buildPlatform-dependencies, we 178 # simply throw in the kitchen sink. 179 - ++ buildInputs 180 - ; 181 182 buildInputs = [ 183 - (libpng.override { apngSupport = false; }) # https://bugs.chromium.org/p/chromium/issues/detail?id=752403 184 - bzip2 flac speex opusWithCustomModes 185 libevent expat libjpeg snappy 186 libcap 187 minizip libwebp
··· 1 { stdenv, lib, fetchurl, fetchpatch 2 , recompressTarball 3 , buildPackages 4 + , buildPlatform 5 , pkgsBuildBuild 6 , pkgsBuildTarget 7 # Channel data: ··· 108 # "opus" 109 ]; 110 111 112 # build paths and release info 113 packageName = extraAttrs.packageName or extraAttrs.name; ··· 166 buildPlatformLlvmStdenv.cc 167 pkg-config 168 libuuid 169 ] 170 # When cross-compiling, chromium builds a huge proportion of its 171 # components for both the `buildPlatform` (which it calls ··· 173 # half of the dependencies are needed here. To avoid having to 174 # maintain a separate list of buildPlatform-dependencies, we 175 # simply throw in the kitchen sink. 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; 204 205 buildInputs = [ 206 + (libpng.override { apngSupport = false; }) # https://bugs.chromium.org/p/chromium/issues/detail?id=752403 207 + (libopus.override { withCustomModes = true; }) 208 + bzip2 flac speex 209 libevent expat libjpeg snappy 210 libcap 211 minizip libwebp
+6
pkgs/development/python-modules/sphinx/default.nix
··· 127 "test_enum_class" 128 ]; 129 130 meta = { 131 description = "Python documentation generator"; 132 longDescription = ''
··· 127 "test_enum_class" 128 ]; 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 + 136 meta = { 137 description = "Python documentation generator"; 138 longDescription = ''