core/pkgs/by-name/li/libunwind/packages.nix
2024-05-13 11:34:52 -04:00

11 lines
221 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 ./. { };
}