From 1e5bdd9e8ce76ada21d15450834a99d30a6ebe57 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Sat, 26 Aug 2023 23:45:09 -0400 Subject: [PATCH] Fix shell environment My previous devshell didn't include rustc, which caused the LSP to not work properly. --- flake.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index dc6cf7b..806d1b2 100644 --- a/flake.nix +++ b/flake.nix @@ -31,9 +31,7 @@ checks.default = self.packages.${system}.ggelo; devShells.default = pkgs.mkShell { - inputsFrom = [ self.packages.${system}.ggelo ]; - packages = [ pkgs.rust-analyzer ]; - + packages = with pkgs; [ rustc cargo pkg-config rust-analyzer ]; PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig"; }; });