This commit is contained in:
James Hogge
2025-12-09 04:18:46 +00:00
commit b1dc693fbf
21 changed files with 8413 additions and 0 deletions

21
flake.nix Normal file
View File

@@ -0,0 +1,21 @@
{
description = "Tutorials from the Rust by Example pages";
inputs.nixpkgs.url = "nixpkgs";
outputs = {nixpkgs, ...}:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
devShells.${system}.default = pkgs.mkShell {
name = "qmk-default";
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
packages = with pkgs; [
rustc
cargo
clippy
];
};
};
}