retroactive, to derust my rust

flake init

nove.dev e53d02f6

+48
+1
.envrc
···
··· 1 + use flake;
+3
.gitignore
···
··· 1 + .direnv/ 2 + .jj/ 3 + target/
+27
flake.lock
···
··· 1 + { 2 + "nodes": { 3 + "nixpkgs": { 4 + "locked": { 5 + "lastModified": 1763049705, 6 + "narHash": "sha256-A5LS0AJZ1yDPTa2fHxufZN++n8MCmtgrJDtxFxrH4S8=", 7 + "owner": "NixOS", 8 + "repo": "nixpkgs", 9 + "rev": "3acb677ea67d4c6218f33de0db0955f116b7588c", 10 + "type": "github" 11 + }, 12 + "original": { 13 + "owner": "NixOS", 14 + "ref": "nixos-25.05", 15 + "repo": "nixpkgs", 16 + "type": "github" 17 + } 18 + }, 19 + "root": { 20 + "inputs": { 21 + "nixpkgs": "nixpkgs" 22 + } 23 + } 24 + }, 25 + "root": "root", 26 + "version": 7 27 + }
+17
flake.nix
···
··· 1 + { 2 + inputs = { 3 + nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; 4 + }; 5 + 6 + outputs = { self, nixpkgs }: 7 + let 8 + pkgs = import nixpkgs { system = "x86_64-linux"; }; 9 + in { 10 + devShells.x86_64-linux.default = pkgs.mkShell { 11 + packages = with pkgs; [ 12 + rustc cargo clippy rustfmt 13 + ]; 14 + RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; 15 + }; 16 + }; 17 + }