diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -19,6 +19,7 @@ outputs = { self, nixpkgs, cargo2nix, flake-utils, fenix }: flake-utils.lib.eachSystem [ + "x86_64-linux" "x86_64-unknown-linux-musl" "aarch64-unknown-linux-musl" "armv6l-unknown-linux-musleabihf" @@ -51,10 +52,16 @@ ]; }; - shell = pkgs.mkShell { + pkgVanilla = import nixpkgs { system = "x86_64-linux"; }; + + shell = pkgVanilla.mkShell { buildInputs = [ - cargo2nix.packages.x86_64-linux.default + #cargo2nix.packages.x86_64-linux.default + fenix.packages.x86_64-linux.minimal.toolchain ]; + shellHook = '' + echo "AEROGRAME DEVELOPMENT SHELL ${fenix.packages.x86_64-linux.minimal.rustc}" + ''; }; rustTarget = if targetHost == "armv6l-unknown-linux-musleabihf" then "arm-unknown-linux-musleabihf" else targetHost; |