mirror of
https://github.com/ivabus/nixos
synced 2024-11-12 19:45:18 +03:00
16 lines
287 B
Nix
16 lines
287 B
Nix
{ 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 ];
|
|
}
|
|
) {}
|