tangled
alpha
login
or
join now
boltless.me
/
nvim_rocks
0
fork
atom
neovim configuration using rocks.nvim plugin manager
0
fork
atom
overview
issues
pulls
pipelines
feat(nix): add nightly dev shell
Seongmin Lee
1 year ago
108d4b23
4cc11b2d
+247
-9
2 changed files
expand all
collapse all
unified
split
flake.lock
flake.nix
+226
-7
flake.lock
···
1
1
{
2
2
"nodes": {
3
3
+
"flake-compat": {
4
4
+
"flake": false,
5
5
+
"locked": {
6
6
+
"lastModified": 1733328505,
7
7
+
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
8
8
+
"owner": "edolstra",
9
9
+
"repo": "flake-compat",
10
10
+
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
11
11
+
"type": "github"
12
12
+
},
13
13
+
"original": {
14
14
+
"owner": "edolstra",
15
15
+
"repo": "flake-compat",
16
16
+
"type": "github"
17
17
+
}
18
18
+
},
19
19
+
"flake-compat_2": {
20
20
+
"flake": false,
21
21
+
"locked": {
22
22
+
"lastModified": 1696426674,
23
23
+
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
24
24
+
"owner": "edolstra",
25
25
+
"repo": "flake-compat",
26
26
+
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
27
27
+
"type": "github"
28
28
+
},
29
29
+
"original": {
30
30
+
"owner": "edolstra",
31
31
+
"repo": "flake-compat",
32
32
+
"type": "github"
33
33
+
}
34
34
+
},
3
35
"flake-parts": {
4
36
"inputs": {
5
37
"nixpkgs-lib": "nixpkgs-lib"
···
18
50
"type": "github"
19
51
}
20
52
},
53
53
+
"flake-parts_2": {
54
54
+
"inputs": {
55
55
+
"nixpkgs-lib": [
56
56
+
"neovim-nightly-overlay",
57
57
+
"nixpkgs"
58
58
+
]
59
59
+
},
60
60
+
"locked": {
61
61
+
"lastModified": 1736143030,
62
62
+
"narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=",
63
63
+
"owner": "hercules-ci",
64
64
+
"repo": "flake-parts",
65
65
+
"rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de",
66
66
+
"type": "github"
67
67
+
},
68
68
+
"original": {
69
69
+
"owner": "hercules-ci",
70
70
+
"repo": "flake-parts",
71
71
+
"type": "github"
72
72
+
}
73
73
+
},
74
74
+
"flake-parts_3": {
75
75
+
"inputs": {
76
76
+
"nixpkgs-lib": [
77
77
+
"neovim-nightly-overlay",
78
78
+
"hercules-ci-effects",
79
79
+
"nixpkgs"
80
80
+
]
81
81
+
},
82
82
+
"locked": {
83
83
+
"lastModified": 1733312601,
84
84
+
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
85
85
+
"owner": "hercules-ci",
86
86
+
"repo": "flake-parts",
87
87
+
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
88
88
+
"type": "github"
89
89
+
},
90
90
+
"original": {
91
91
+
"id": "flake-parts",
92
92
+
"type": "indirect"
93
93
+
}
94
94
+
},
95
95
+
"git-hooks": {
96
96
+
"inputs": {
97
97
+
"flake-compat": "flake-compat_2",
98
98
+
"gitignore": "gitignore",
99
99
+
"nixpkgs": [
100
100
+
"neovim-nightly-overlay",
101
101
+
"nixpkgs"
102
102
+
]
103
103
+
},
104
104
+
"locked": {
105
105
+
"lastModified": 1735882644,
106
106
+
"narHash": "sha256-3FZAG+pGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110=",
107
107
+
"owner": "cachix",
108
108
+
"repo": "git-hooks.nix",
109
109
+
"rev": "a5a961387e75ae44cc20f0a57ae463da5e959656",
110
110
+
"type": "github"
111
111
+
},
112
112
+
"original": {
113
113
+
"owner": "cachix",
114
114
+
"repo": "git-hooks.nix",
115
115
+
"type": "github"
116
116
+
}
117
117
+
},
118
118
+
"gitignore": {
119
119
+
"inputs": {
120
120
+
"nixpkgs": [
121
121
+
"neovim-nightly-overlay",
122
122
+
"git-hooks",
123
123
+
"nixpkgs"
124
124
+
]
125
125
+
},
126
126
+
"locked": {
127
127
+
"lastModified": 1709087332,
128
128
+
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
129
129
+
"owner": "hercules-ci",
130
130
+
"repo": "gitignore.nix",
131
131
+
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
132
132
+
"type": "github"
133
133
+
},
134
134
+
"original": {
135
135
+
"owner": "hercules-ci",
136
136
+
"repo": "gitignore.nix",
137
137
+
"type": "github"
138
138
+
}
139
139
+
},
140
140
+
"hercules-ci-effects": {
141
141
+
"inputs": {
142
142
+
"flake-parts": "flake-parts_3",
143
143
+
"nixpkgs": [
144
144
+
"neovim-nightly-overlay",
145
145
+
"nixpkgs"
146
146
+
]
147
147
+
},
148
148
+
"locked": {
149
149
+
"lastModified": 1735695978,
150
150
+
"narHash": "sha256-cwk53OX1S1bCFY09zydubZNmmwcx9l5XEba8mVYuNE4=",
151
151
+
"owner": "hercules-ci",
152
152
+
"repo": "hercules-ci-effects",
153
153
+
"rev": "f6233b5cfbada692d93a73d6ed35bdbfd0fdb9c4",
154
154
+
"type": "github"
155
155
+
},
156
156
+
"original": {
157
157
+
"owner": "hercules-ci",
158
158
+
"repo": "hercules-ci-effects",
159
159
+
"type": "github"
160
160
+
}
161
161
+
},
162
162
+
"neovim-nightly-overlay": {
163
163
+
"inputs": {
164
164
+
"flake-compat": "flake-compat",
165
165
+
"flake-parts": "flake-parts_2",
166
166
+
"git-hooks": "git-hooks",
167
167
+
"hercules-ci-effects": "hercules-ci-effects",
168
168
+
"neovim-src": "neovim-src",
169
169
+
"nixpkgs": "nixpkgs",
170
170
+
"treefmt-nix": "treefmt-nix"
171
171
+
},
172
172
+
"locked": {
173
173
+
"lastModified": 1736233375,
174
174
+
"narHash": "sha256-I6fqKdaoKOVU33SyPv+MuxWRiOs+PXQTO94aCLA3rAc=",
175
175
+
"owner": "nix-community",
176
176
+
"repo": "neovim-nightly-overlay",
177
177
+
"rev": "721f5f602b876a3ee21be04f68ab3cedf162e7f6",
178
178
+
"type": "github"
179
179
+
},
180
180
+
"original": {
181
181
+
"owner": "nix-community",
182
182
+
"repo": "neovim-nightly-overlay",
183
183
+
"type": "github"
184
184
+
}
185
185
+
},
186
186
+
"neovim-src": {
187
187
+
"flake": false,
188
188
+
"locked": {
189
189
+
"lastModified": 1736193797,
190
190
+
"narHash": "sha256-5S4RnwKfa5nn/r+8OsMtfgD6TEA5P6cWKti76A0zIMc=",
191
191
+
"owner": "neovim",
192
192
+
"repo": "neovim",
193
193
+
"rev": "b6ab294838421afb6932c52dd6e6d35d571e621d",
194
194
+
"type": "github"
195
195
+
},
196
196
+
"original": {
197
197
+
"owner": "neovim",
198
198
+
"repo": "neovim",
199
199
+
"type": "github"
200
200
+
}
201
201
+
},
21
202
"nixpkgs": {
22
203
"locked": {
23
23
-
"lastModified": 1735291276,
24
24
-
"narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=",
25
25
-
"owner": "nixos",
204
204
+
"lastModified": 1736042175,
205
205
+
"narHash": "sha256-jdd5UWtLVrNEW8K6u5sy5upNAFmF3S4Y+OIeToqJ1X8=",
206
206
+
"owner": "NixOS",
26
207
"repo": "nixpkgs",
27
27
-
"rev": "634fd46801442d760e09493a794c4f15db2d0cbb",
208
208
+
"rev": "bf689c40d035239a489de5997a4da5352434632e",
28
209
"type": "github"
29
210
},
30
211
"original": {
31
31
-
"owner": "nixos",
32
32
-
"ref": "nixos-unstable",
212
212
+
"owner": "NixOS",
213
213
+
"ref": "nixpkgs-unstable",
33
214
"repo": "nixpkgs",
34
215
"type": "github"
35
216
}
···
46
227
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz"
47
228
}
48
229
},
230
230
+
"nixpkgs_2": {
231
231
+
"locked": {
232
232
+
"lastModified": 1735291276,
233
233
+
"narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=",
234
234
+
"owner": "nixos",
235
235
+
"repo": "nixpkgs",
236
236
+
"rev": "634fd46801442d760e09493a794c4f15db2d0cbb",
237
237
+
"type": "github"
238
238
+
},
239
239
+
"original": {
240
240
+
"owner": "nixos",
241
241
+
"ref": "nixos-unstable",
242
242
+
"repo": "nixpkgs",
243
243
+
"type": "github"
244
244
+
}
245
245
+
},
49
246
"root": {
50
247
"inputs": {
51
248
"flake-parts": "flake-parts",
52
52
-
"nixpkgs": "nixpkgs"
249
249
+
"neovim-nightly-overlay": "neovim-nightly-overlay",
250
250
+
"nixpkgs": "nixpkgs_2"
251
251
+
}
252
252
+
},
253
253
+
"treefmt-nix": {
254
254
+
"inputs": {
255
255
+
"nixpkgs": [
256
256
+
"neovim-nightly-overlay",
257
257
+
"nixpkgs"
258
258
+
]
259
259
+
},
260
260
+
"locked": {
261
261
+
"lastModified": 1736154270,
262
262
+
"narHash": "sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw=",
263
263
+
"owner": "numtide",
264
264
+
"repo": "treefmt-nix",
265
265
+
"rev": "13c913f5deb3a5c08bb810efd89dc8cb24dd968b",
266
266
+
"type": "github"
267
267
+
},
268
268
+
"original": {
269
269
+
"owner": "numtide",
270
270
+
"repo": "treefmt-nix",
271
271
+
"type": "github"
53
272
}
54
273
}
55
274
},
+21
-2
flake.nix
···
4
4
inputs = {
5
5
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
6
6
flake-parts.url = "github:hercules-ci/flake-parts";
7
7
+
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
7
8
};
8
9
9
10
outputs = inputs @ {
···
18
19
"aarch64-linux"
19
20
"aarch64-darwin"
20
21
];
21
21
-
perSystem = { system, pkgs, ... }: {
22
22
+
perSystem = { system, ... }: let
23
23
+
pkgs = import nixpkgs {
24
24
+
inherit system;
25
25
+
overlays = [
26
26
+
(self: super: {
27
27
+
neovim-nightly = inputs.neovim-nightly-overlay.packages.${system}.default;
28
28
+
})
29
29
+
];
30
30
+
};
31
31
+
in {
22
32
devShells.default = pkgs.mkShell {
23
23
-
name = "NativeVim devShell";
33
33
+
name = "NativeVim (stable) devShell";
24
34
buildInputs = [
25
35
pkgs.neovim
36
36
+
pkgs.sumneko-lua-language-server
37
37
+
pkgs.stylua
38
38
+
];
39
39
+
};
40
40
+
devShells.nightly = pkgs.mkShell {
41
41
+
name = "NativeVim (nightly) devShell";
42
42
+
buildInputs = [
43
43
+
pkgs.vim
44
44
+
pkgs.neovim-nightly
26
45
pkgs.sumneko-lua-language-server
27
46
pkgs.stylua
28
47
];