Some checks failed
CI / Build (ubuntu-latest) (push) Waiting to run
CI / Build (windows-latest) (push) Waiting to run
CI / Flake checks (push) Waiting to run
CI / CI Release gate (push) Blocked by required conditions
Docker / Build image (push) Waiting to run
Docker / Docker Release gate (push) Blocked by required conditions
Docker / Push image (push) Blocked by required conditions
Clippy / Run scan (push) Has been cancelled
9 lines
232 B
Nix
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; }
|