add nix stuff

This commit is contained in:
Tove 2025-06-04 10:20:15 +02:00
parent 3fa0c892e0
commit a3a004ce49
Signed by: TudbuT
GPG key ID: B3CF345217F202D3
3 changed files with 11 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use nix

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
/test.alloc
/test.dat
*.mdb
.direnv/

9
shell.nix Normal file
View file

@ -0,0 +1,9 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
cargo
helix
rust-analyzer
cargo-watch
];
}