Skip to content

Commit d8be90b

Browse files
authored
fix: add plenary as a dependency in nix flake (ravitemer#140)
* fix: add plenary as a dependency in nix flake * remove unnecessary github actions matrix
1 parent ce34b65 commit d8be90b

File tree

2 files changed

+28
-13
lines changed

2 files changed

+28
-13
lines changed

.github/workflows/nix-build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Nix Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request: ~
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout 🛎️
14+
uses: actions/checkout@v4
15+
16+
- name: Install Nix
17+
uses: DeterminateSystems/nix-installer-action@v17
18+
19+
- name: Check Nixpkgs Inputs
20+
uses: DeterminateSystems/flake-checker-action@v9
21+
22+
- name: Add Nix Cache
23+
uses: DeterminateSystems/magic-nix-cache-action@v9
24+
25+
- name: Run build ❄️
26+
run: |
27+
nix build

flake.nix

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,13 @@
1818
packages.default = pkgs.vimUtils.buildVimPlugin {
1919
name = "mcphub.nvim";
2020
src = self;
21+
dependencies = [ pkgs.vimPlugins.plenary-nvim ];
2122
nvimSkipModule = [
22-
"mcphub"
23-
"mcphub.hub"
2423
"bundled_build"
2524
"mcphub.extensions.avante"
2625
"mcphub.extensions.codecompanion"
2726
"mcphub.extensions.codecompanion.xml_tool"
2827
"mcphub.extensions.lualine"
29-
"mcphub.native.neovim.lsp"
30-
"mcphub.native.neovim.terminal"
31-
"mcphub.native.neovim.files.search"
32-
"mcphub.native.neovim.files.write"
33-
"mcphub.native.neovim.files.operations"
34-
"mcphub.native.neovim.files.init"
35-
"mcphub.native.neovim.files.replace"
36-
"mcphub.native.neovim.init"
37-
"mcphub.native.neovim.prompts"
38-
"mcphub.native.mcphub.init"
39-
"mcphub.native.mcphub.guide"
4028
];
4129
};
4230
};

0 commit comments

Comments
 (0)