core/pkgs/by-name/li/libunwind/packages.nix
2024-05-13 22:24:10 +01:00

12 lines
225 B
Nix

{ ... }:
res: pkgs: super:
with pkgs; {
libunwind = if stdenv.isDarwin then
darwin.libunwind
else if stdenv.hostPlatform.system == "riscv32-linux" then
llvmPackages_14.libunwind
else
callPackage ./. { };
}