entropy working

This commit is contained in:
Priec
2026-03-07 17:36:48 +01:00
commit 009e5c4925
6 changed files with 3025 additions and 0 deletions

33
flake.nix Normal file
View File

@@ -0,0 +1,33 @@
{
description = "Pure Rust development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
rustc
cargo
rust-analyzer
clippy
rustfmt
pkg-config
openssl
];
shellHook = ''
echo ">>> Pure Rust DevShell (Nix managed toolchain)"
cargo --version
rustc --version
echo "Run: cargo new <project_name>"
'';
};
});
}