mirror of
https://github.com/ivabus/nixos
synced 2024-11-14 04:25:07 +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 ];
|
||
|
}
|
||
|
) {}
|