core/pkgs/by-name/li/libunwind/packages.nix

11 lines
221 B
Nix
Raw Permalink Normal View History

2024-05-02 00:46:19 +00:00
{ ... }:
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 ./. { };
}