From f5cbe5d8032b9b39bbe38761e2d9eadf7d25c4ae Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 12 Jan 2023 19:41:28 +0000 Subject: [PATCH] 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. --- pkgs/development/libraries/libunwind/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libunwind/default.nix b/pkgs/development/libraries/libunwind/default.nix index 89ca036eeed4..6f05307381a0 100644 --- a/pkgs/development/libraries/libunwind/default.nix +++ b/pkgs/development/libraries/libunwind/default.nix @@ -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; }; }