aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-07-25 19:08:48 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-07-25 19:08:48 +0200
commitec061022e0b4bce8d5993d35a9c4ed494c44ecdd (patch)
treeb8f2460eada7dbd9a2a8912ed43f7557b21e7a83 /flake.nix
parent17fba10d8ffe14bb47ae6389dbb28b012eac1b35 (diff)
downloadaerogramme-ec061022e0b4bce8d5993d35a9c4ed494c44ecdd.tar.gz
aerogramme-ec061022e0b4bce8d5993d35a9c4ed494c44ecdd.zip
finalize eml-codec integration
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 3bf91b2..895303d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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;