bluez: disable failing test on musl (#286245)

This commit is contained in:
Yureka 2024-02-04 17:24:06 +01:00 committed by GitHub
parent d87f22085f
commit b79d9beb4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,6 @@
, docutils , docutils
, ell , ell
, enableExperimental ? false , enableExperimental ? false
, fetchpatch
, fetchurl , fetchurl
, glib , glib
, json_c , json_c
@ -26,6 +25,16 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-SZ1/o0WplsG7ZQ9cZ0nh2SkRH6bs4L4OmGh/7mEkU24="; hash = "sha256-SZ1/o0WplsG7ZQ9cZ0nh2SkRH6bs4L4OmGh/7mEkU24=";
}; };
patches =
# Disable one failing test with musl libc, also seen by alpine
# https://github.com/bluez/bluez/issues/726
lib.optional (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64)
(fetchurl {
url = "https://git.alpinelinux.org/aports/plain/main/bluez/disable_aics_unit_testcases.patch?id=8e96f7faf01a45f0ad8449c1cd825db63a8dfd48";
hash = "sha256-1PJkipqBO3qxxOqRFQKfpWlne1kzTCgtnTFYI1cFQt4=";
})
;
buildInputs = [ buildInputs = [
alsa-lib alsa-lib
dbus dbus