Hello, World!

This commit is contained in:
Weckyy702 committed 2026-10-13 21:45:30 +02:00
commit 52f19dd347
11 files changed
+1520

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-utils.url = "github:numtide/flake-utils";
rust-overlay.url = "github:oxalica/rust-overlay";
};
outputs =
{
self,
nixpkgs,
flake-utils,
rust-overlay,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
overlays = [ (import rust-overlay) ];
pkgs = import nixpkgs {
inherit system overlays;
};
in
with pkgs;
{
devShells.default = mkShell {
buildInputs =
with pkgs;
[
(rust-bin.stable.latest.default.override {
extensions = [ "rust-src" ];
targets = [ "thumbv6m-none-eabi" ];
})
]
++ [
rust-analyzer
rustfmt
picotool
probe-rs-tools
usbutils
];
};
}
);
}