3
0
Fork 0
forked from mirrors/nixpkgs

meson: Add upstream patch to stop failing on skipped tests

https://github.com/mesonbuild/meson/pull/7525

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2020-08-13 17:25:13 -07:00 committed by Frederik Rietdijk
parent 4301143db5
commit 729e7295cf

View file

@ -4,6 +4,7 @@
, writeTextDir
, substituteAll
, pkgsHostHost
, fetchpatch
}:
python3.pkgs.buildPythonApplication rec {
@ -16,6 +17,13 @@ python3.pkgs.buildPythonApplication rec {
};
patches = [
# Meson 0.55.0 incorrectly considers skipped tests as failures,
# which makes some packages like gjs fail to build.
(fetchpatch {
url = "https://github.com/mesonbuild/meson/commit/7db49db67d4aa7582cf46feb7157235e66aa95b1.diff";
sha256 = "1chq52sgk24afdlswssr8n8p6fa2wz8rjlxvkjhpqg1kg3qnqc9p";
})
# Upstream insists on not allowing bindir and other dir options
# outside of prefix for some reason:
# https://github.com/mesonbuild/meson/issues/2561