mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-08 11:47:18 +00:00
flake: document 'develop' package better
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ida5b35a258dcc8ffa6fa6d653b76ddb36a6a6964
This commit is contained in:
parent
858717bed7
commit
c6022aeab2
1 changed files with 23 additions and 11 deletions
|
|
@ -1,15 +1,23 @@
|
||||||
{lib, ...}: {
|
{lib, ...}: {
|
||||||
perSystem = {
|
perSystem = {pkgs, ...}: {
|
||||||
pkgs,
|
# The default dev shell provides packages required to interact with
|
||||||
config,
|
# the codebase as described by the contributing guidelines. It includes the
|
||||||
self',
|
# formatters required, and a few additional goodies for linting work.
|
||||||
...
|
|
||||||
}: {
|
|
||||||
devShells = {
|
devShells = {
|
||||||
default = self'.devShells.lsp;
|
default = pkgs.mkShellNoCC {
|
||||||
nvim-nix = pkgs.mkShellNoCC {packages = [config.packages.nix];};
|
packages = with pkgs; [
|
||||||
lsp = pkgs.mkShellNoCC {
|
# Nix tooling
|
||||||
packages = with pkgs; [nil statix deadnix alejandra npins];
|
nil # LSP
|
||||||
|
statix # static checker
|
||||||
|
deadnix # dead code finder
|
||||||
|
|
||||||
|
# So that we can interact with plugin sources
|
||||||
|
npins
|
||||||
|
|
||||||
|
# Formatters
|
||||||
|
alejandra
|
||||||
|
deno
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -18,7 +26,11 @@
|
||||||
# testing, but make sure to discard the changes before creating a pull
|
# testing, but make sure to discard the changes before creating a pull
|
||||||
# request.
|
# request.
|
||||||
packages.dev = let
|
packages.dev = let
|
||||||
configuration = {};
|
configuration = {
|
||||||
|
# This is essentially the configuration that will be passed to the
|
||||||
|
# builder function. For example:
|
||||||
|
# vim.languages.nix.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
customNeovim = lib.nvim.neovimConfiguration {
|
customNeovim = lib.nvim.neovimConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue