pipewire: patch for SIGILL in fmt-ops

Hydra run tests are failing with SIGILL, see [1] , import the upstream
patch to fix the issue. Presumably not all hydra runners have the same
instruction extensions, this should fix the tests on those without AVX2.

[1]: https://hydra.nixos.org/build/117012754
This commit is contained in:
Rouven Czerwinski 2020-04-25 08:23:41 +02:00
parent 93a9ac696b
commit bc8e1f3ad5

View File

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchFromGitLab , fetchFromGitLab
, fetchpatch
, meson , meson
, ninja , ninja
, pkgconfig , pkgconfig
@ -72,6 +73,13 @@ stdenv.mkDerivation rec {
vulkan-loader vulkan-loader
xorg.libX11 xorg.libX11
]; ];
patches = [
# fix SIGILL in fmt-ops: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/227
(fetchpatch {
url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/1b3aaba206f48e75bb34ff0cd00321bd3d6db2b4.patch";
sha256 = "08bmr9k2r0q4r7vhhm28k558nk3mz3jfnqswvq9mcj7p0srmfb4x";
})
];
mesonFlags = [ mesonFlags = [
"-Ddocs=true" "-Ddocs=true"