diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-07-25 19:08:48 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-07-25 19:08:48 +0200 |
commit | ec061022e0b4bce8d5993d35a9c4ed494c44ecdd (patch) | |
tree | b8f2460eada7dbd9a2a8912ed43f7557b21e7a83 /flake.nix | |
parent | 17fba10d8ffe14bb47ae6389dbb28b012eac1b35 (diff) | |
download | aerogramme-ec061022e0b4bce8d5993d35a9c4ed494c44ecdd.tar.gz aerogramme-ec061022e0b4bce8d5993d35a9c4ed494c44ecdd.zip |
finalize eml-codec integration
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; |