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:
parent
4301143db5
commit
729e7295cf
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue