refraction/nix/static.nix
seth 62947a9ff1
build(nix): drop rust-overlay
nixpkgs works well enough and gives us a good buffer in dealing with
compiler regressions
2024-11-11 17:28:25 -05:00

9 lines
232 B
Nix

{ pkgsCross }:
let
crossPlatformFor = with pkgsCross; {
x86_64 = musl64.pkgsStatic;
aarch64 = aarch64-multiplatform.pkgsStatic;
};
in
{ arch }:
crossPlatformFor.${arch}.callPackage ./package.nix { optimizeSize = true; }