nixos/shells/crossShell.nix

16 lines
287 B
Nix
Raw Normal View History

{ crossSystem ? "aarch64-unknown-linux-musl" }:
let pkgs = import <nixpkgs> {
crossSystem = {
config = crossSystem;
};
};
in
pkgs.callPackage (
{mkShell, pkg-config, zlib}:
mkShell {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib ];
}
) {}