summary refs log tree commit diff
path: root/pkgs/development/libraries/libunwind
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2021-06-04 19:02:19 -0700
committerZhaofeng Li <hello@zhaofeng.li>2021-06-04 20:44:38 -0700
commit9a8b5d6e154f703278b68b4d8952ce2d1c791c02 (patch)
tree57aa01c45f0d8704b6db3c954e3167c54c5bc99f /pkgs/development/libraries/libunwind
parent64509dbd186f11a9b7213e3cce413abb5bd8f7dc (diff)
downloadnixpkgs-9a8b5d6e154f703278b68b4d8952ce2d1c791c02.tar
nixpkgs-9a8b5d6e154f703278b68b4d8952ce2d1c791c02.tar.gz
nixpkgs-9a8b5d6e154f703278b68b4d8952ce2d1c791c02.tar.bz2
nixpkgs-9a8b5d6e154f703278b68b4d8952ce2d1c791c02.tar.lz
nixpkgs-9a8b5d6e154f703278b68b4d8952ce2d1c791c02.tar.xz
nixpkgs-9a8b5d6e154f703278b68b4d8952ce2d1c791c02.tar.zst
nixpkgs-9a8b5d6e154f703278b68b4d8952ce2d1c791c02.zip
nongnu-libunwind: Disable package for RISC-V
The author has stated that he does not have time to implement support.
There is no use for the `supportsHost` passthru attribute anymore, so
let's remove that as well.
Diffstat (limited to 'pkgs/development/libraries/libunwind')
-rw-r--r--pkgs/development/libraries/libunwind/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libunwind/default.nix b/pkgs/development/libraries/libunwind/default.nix
index b2b5db2309c..bda7f72a557 100644
--- a/pkgs/development/libraries/libunwind/default.nix
+++ b/pkgs/development/libraries/libunwind/default.nix
@@ -38,8 +38,7 @@ stdenv.mkDerivation rec {
     description = "A portable and efficient API to determine the call-chain of a program";
     maintainers = with maintainers; [ orivej ];
     platforms = platforms.linux;
+    badPlatforms = [ "riscv32-linux" "riscv64-linux" ];
     license = licenses.mit;
   };
-
-  passthru.supportsHost = !stdenv.hostPlatform.isRiscV;
 }