-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathshell.nix
More file actions
60 lines (56 loc) · 1.34 KB
/
Copy pathshell.nix
File metadata and controls
60 lines (56 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
pkgs-stable ? import <nixpkgs> { },
pkgs-unstable ? pkgs-stable,
}:
let
nvim-stable = pkgs-stable.neovim;
nvim-unstable = pkgs-unstable.neovim;
plenary-nvim = pkgs-stable.vimPlugins.plenary-nvim;
nodejs-stable = pkgs-stable.nodejs_24;
mcporter = (
pkgs-stable.writeShellScriptBin "mcporter" ''
exec ${pkgs-stable.lib.getExe pkgs-stable.envchain} mcp_keys pnpm --silent --package=mcporter@latest dlx -- mcporter "$@"
''
);
in
pkgs-stable.mkShell {
name = "flemma-dev-shell";
shellHook = ''
PROJECT_ROOT=$(pwd)
export PROJECT_ROOT
PLENARY_PATH=${plenary-nvim}
export PLENARY_PATH
NVIM_VERSIONS="neovim-${nvim-stable.version}:${nvim-stable}/bin/nvim:${nvim-stable}/share/nvim/runtime:${plenary-nvim} neovim-${nvim-unstable.version}:${nvim-unstable}/bin/nvim:${nvim-unstable}/share/nvim/runtime:${plenary-nvim}"
export NVIM_VERSIONS
'';
buildInputs = with pkgs-unstable; [
actionlint
ast-grep
bubblewrap
gettext
gh
google-cloud-sdk
jq
libsecret
links2
mcporter
nodejs-stable.pkgs.pnpm
shellcheck
socat
tree-sitter
vhs
# Neovim plug-ins
plenary-nvim
# Lua tools
lua-language-server
lua54Packages.luacheck
# Formatters
nixfmt
nodejs-stable.pkgs.prettier
shfmt
stylua
taplo
treefmt
yamlfmt
];
}