libunwind: broaden platforms

Upstream helpfully spells out exactly which platforms are supported,
so let's just use that list.  Notably, this change allows libunwind to
be built for FreeBSD.
This commit is contained in:
Alyssa Ross 2023-01-12 19:41:28 +00:00
parent e8efcbaca7
commit f5cbe5d803

View file

@ -45,8 +45,8 @@ stdenv.mkDerivation rec {
homepage = "https://www.nongnu.org/libunwind";
description = "A portable and efficient API to determine the call-chain of a program";
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
badPlatforms = [ "riscv32-linux" ];
# https://github.com/libunwind/libunwind#libunwind
platforms = [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "i686-freebsd13" "i686-linux" "mips64el-linux" "mipsel-linux" "powerpc64-linux" "powerpc64le-linux" "riscv64-linux" "x86_64-freebsd13" "x86_64-linux" "x86_64-solaris" ];
license = licenses.mit;
};
}