diff --git a/shell.nix b/shell.nix index 7d6e6730c..27753fed9 100644 --- a/shell.nix +++ b/shell.nix @@ -4,6 +4,9 @@ let pkgs = import { overlays = [ rust_overlay ]; }; rust = pkgs.rust-bin.fromRustupToolchainFile ./examples/rust/rust-toolchain.toml; llvm = pkgs.llvmPackages_16; + linux_aarch64_cross = import { + crossSystem = { config = "aarch64-unknown-linux-gnu"; }; + }; manual_deps = with pkgs.buildPackages; [ texliveFull pandoc @@ -24,6 +27,8 @@ in # expect is only needed for CI testing but we include it for # completeness expect + # For when we need to build user-space applications for Linux guests + linux_aarch64_cross.buildPackages.gcc ] ++ manual_deps; hardeningDisable = [ "all" ]; # Need to specify this when using Rust with bindgen