Skip to content

Commit 87fde2b

Browse files
author
Marc Jakobi
committed
build(nix): add devShell
1 parent 08ea136 commit 87fde2b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

flake.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@
3333
// {
3434
default = self.packages.${system}.emmylua_ls;
3535
};
36+
37+
devShells.default = pkgs.mkShell {
38+
buildInputs = (with pkgs; [
39+
rust-analyzer
40+
clippy
41+
rustfmt
42+
])
43+
++ self.packages.${system}.default.buildInputs
44+
++ self.packages.${system}.default.nativeBuildInputs;
45+
};
3646
}
3747
);
3848
}

0 commit comments

Comments
 (0)