[feat] flake.nix: add envrc to run nix develop

Also adds a few necessary packages to the path
This commit is contained in:
Jalil David Salamé Messina 2024-05-09 00:59:43 +02:00
parent 15e2d2da06
commit d310eb1513
Signed by: jalil
GPG key ID: F016B9E770737A0B
3 changed files with 7 additions and 1 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/target /target
/result /result
/.direnv

View file

@ -28,7 +28,11 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in { in {
default = pkgs.mkShell { default = pkgs.mkShell {
packages = [pkgs.cargo-insta]; packages = [
pkgs.cargo-insta
pkgs.cargo-udeps
pkgs.mold
];
}; };
}); });
}; };