refraction/nix/static.nix
seth 0b6be71c48 build(nix): drop rust-overlay
nixpkgs works well enough and gives us a good buffer in dealing with
compiler regressions
2024-11-12 08:27:23 +01: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; }