feat: initial commit.

This commit is contained in:
2026-09-04 01:21:05 +02:00
commit 3608dd845d
7 changed files with 89 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
{
description = "My Rust development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
in
{
devShells.${system}.default = pkgs.mkShell {
packages = [
pkgs.rustc
pkgs.cargo
pkgs.rust-analyzer
pkgs.rustfmt
pkgs.clippy
pkgs.rustPlatform.rustLibSrc
pkgs.bash
pkgs.zsh
];
RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
};
};
}