From d310eb151325c300570a716e6b6c154aadf25a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Thu, 9 May 2024 00:59:43 +0200 Subject: [PATCH] [feat] flake.nix: add envrc to run nix develop Also adds a few necessary packages to the path --- .envrc | 1 + .gitignore | 1 + flake.nix | 6 +++++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore index d787b70..052de26 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target /result +/.direnv diff --git a/flake.nix b/flake.nix index 0f99669..6ae3357 100644 --- a/flake.nix +++ b/flake.nix @@ -28,7 +28,11 @@ pkgs = nixpkgs.legacyPackages.${system}; in { default = pkgs.mkShell { - packages = [pkgs.cargo-insta]; + packages = [ + pkgs.cargo-insta + pkgs.cargo-udeps + pkgs.mold + ]; }; }); };