You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
660 B
22 lines
660 B
(import <nixpkgs> {
|
|
crossSystem = "aarch64-linux";
|
|
overlays = [ (import ../..) ];
|
|
}).callPackage (
|
|
{ mkShell, rust-bin, pkg-config, openssl, pkgsBuildBuild }:
|
|
mkShell {
|
|
nativeBuildInputs = [
|
|
# Manual `buildPackages` is required here. See: https://github.com/NixOS/nixpkgs/issues/49526
|
|
# build = host = x86_64, target = aarch64
|
|
rust-bin.stable.latest.minimal
|
|
pkg-config
|
|
|
|
# build = host = target = x86_64
|
|
# qemu itself is multi-platform and `target` doesn't matter for it.
|
|
# Use build system's to avoid rebuild.
|
|
pkgsBuildBuild.qemu
|
|
];
|
|
buildInputs = [
|
|
# build = x86_64, host = target = aarch64
|
|
openssl
|
|
];
|
|
}) {}
|
|
|