pkgsMusl.bluez: fix build

This commit is contained in:
Yureka 2022-12-15 13:38:36 +01:00
parent 823d14246a
commit 1f4ef31889

View File

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, alsa-lib
, dbus
, ell
@ -29,6 +30,14 @@ in stdenv.mkDerivation rec {
sha256 = "sha256-Of6mS1kMlJKYSgwnqJ/CA+HNx0hmCG77j0aYZ3qytXQ=";
};
patches = [
# replace use of a non-standard symbol to fix build with musl libc (pkgsMusl.bluez)
(fetchpatch {
url = "https://git.alpinelinux.org/aports/plain/main/bluez/max-input.patch?id=32b31b484cb13009bd8081c4106e4cf064ec2f1f";
sha256 = "sha256-SczbXtsxBkCO+izH8XOBcrJEO2f7MdtYVT3+2fCV8wU=";
})
];
buildInputs = [
alsa-lib
dbus