aboutsummaryrefslogtreecommitdiff
path: root/contrib/flake.nix
Commit message (Collapse)AuthorAge
* build: remove nix flakes (#28863)dundargoc2024-05-24
| | | | | | | It does not work and we don't plan on maintaining these anymore. The flake files are being moved to https://github.com/nix-community/neovim-nightly-overlay/pull/516 instead.
* build(nix): update flake to prevent build errors #28394Riley Bruins2024-04-18
| | | | | - Updates nixpkgs to source a necessary Tree-sitter version - Updates to a new llvm version as the old one was removed from nixpkgs - Properly moves `doCheck` from a regular param to an attribute option
* feat(docs): replace lua2dox.luaLewis Russell2024-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The documentation flow (`gen_vimdoc.py`) has several issues: - it's not very versatile - depends on doxygen - doesn't work well with Lua code as it requires an awkward filter script to convert it into pseudo-C. - The intermediate XML files and filters makes it too much like a rube goldberg machine. Solution: Re-implement the flow using Lua, LPEG and treesitter. - `gen_vimdoc.py` is now replaced with `gen_vimdoc.lua` and replicates a portion of the logic. - `lua2dox.lua` is gone! - No more XML files. - Doxygen is now longer used and instead we now use: - LPEG for comment parsing (see `scripts/luacats_grammar.lua` and `scripts/cdoc_grammar.lua`). - LPEG for C parsing (see `scripts/cdoc_parser.lua`) - Lua patterns for Lua parsing (see `scripts/luacats_parser.lua`). - Treesitter for Markdown parsing (see `scripts/text_utils.lua`). - The generated `runtime/doc/*.mpack` files have been removed. - `scripts/gen_eval_files.lua` now instead uses `scripts/cdoc_parser.lua` directly. - Text wrapping is implemented in `scripts/text_utils.lua` and appears to produce more consistent results (the main contributer to the diff of this change).
* fix(flake): clang-tools moved to nativeBuildInputs (#26955)LamprosPitsillos2024-01-12
| | | | | | | | | | | * fix(flake): clang-tools moved to nativeBuildInputs Buildtime binaries should go in `nativeBuildInputs` Before `clang-tools` version was overwriten breaking the Lsp. Relevant issues: https://github.com/NixOS/nixpkgs/issues/76486 * remove cmake, available in the nixpkgs derivation
* build(nix): fix markdown parser #24225figsoda2023-07-01
|
* build(nix): use the correct versions of the bundled treesitter parsersfigsoda2023-06-09
|
* build: add ubsan default optionsii142023-05-15
| | | | Use print_stacktrace=1 for UBSAN by default.
* build(nix): fixed build (#22918)Matthieu Coudron2023-04-07
| | | added missing dependencies libiconv
* build!: rename sanitizer options from CLANG_* to ENABLE_*ii142023-03-17
|
* refactor(log): reduce compile time LOG_LEVEL granularitybfredl2023-03-04
|
* build: add git sha to version when built with nix flake (#21210)Will Leinweber2022-12-30
|
* build(nix): remove pylint as it has been removed (#21572)dundargoc2022-12-28
|
* build(nix): clean up nix flake (#21565)figsoda2022-12-28
|
* build(nix): update nixpkgsPaul Schyska2022-11-24
| | | Update flake and drop now superfluous libvterm-neovim override
* build(nix): change the pkgs to final, add new version of libvterm (#20410)Philipp Herzog2022-09-30
|
* build(nix): removed the useless 'app'Matthieu Coudron2022-09-05
| | | | | the format changed depending on the nix version and it is useless anyway.
* build(flake): add sumneko lsp in PATHMatthieu Coudron2022-09-05
| | | | and reformatted the file
* fix(mac): add CoreServices to flake.nix #18358Daniel Kempkens2022-05-02
| | | The `include` was added in e038625b87dda2389d004017bd2dcf2b65bc40f6
* chore(flake): fix for recent nixpkgs (#15520)Matthieu Coudron2021-08-30
| | | | | https://github.com/NixOS/nixpkgs/pull/134463 made keepDebugInfo obsolete for generic packages. This copies what keepDebugInfo used to do.
* feat(defaults): map Y to y$ #13268Matthieu Coudron2021-08-15
| | | | | | | | | rationale: - consistent with D and Y - long recommended by Vim's own ":help Y" close #13268 close #416 ref #6289
* chore(flake): update inputsMatthieu Coudron2021-07-10
| | | | | | | | | | | | Updated inputs so no need to add tree-sitter ourselves anymore. Added checks: - for pylint/shlint - distinguish the devolpment shell from the ASAN build (closure for ASAN version is smaller). While in the devShell, functionaltests would fail because bin/nvim could not load outputs/out/share/nvim/syntax/syntax.vim So we touch the file.
* contrib: add clang-tools to nix flakeMichael Lingelbach2021-04-10
|
* fix(flake): can now generate vimdocMatthieu Coudron2021-03-04
| | | | | | and removed warning about deprecated usage of stdenv.lib also can run `make pylint shlint`.
* fix(flake): add debuginfo to nvim-debug (#13947)Matthieu Coudron2021-02-17
| | | | nvim-debug was missing symbols. adding the lock file to remove the flake warning message as well.
* contrib: update nix flake to use flake-utils (#13685)Michael Lingelbach2021-01-05
|
* fix(flake): enable make functionaltestMatthieu Coudron2020-12-30
| | | | otherwise busted is not provided/found and functionaltests are disabled.
* feat(nix): add flake.nix (#13487)Matthieu Coudron2020-12-09
`flakes` is a feature available in the unstable version of the `nix` package manager to ease the distribution of nix expressions see https://www.tweag.io/blog/2020-05-25-flakes/ . Nix excels at software reproducibility and is available/can be installed on different distributions (ubuntu/void/debian etc) as well as macOS. This flakes contains 3 packages that can be installed via for instance `nix run 'github:neovim/neovim?dir=contrib#nvim-debug'` or `nix run 'github:neovim/neovim?dir=contrib'` for the default version. you can register an alias `nix registry add neovim 'github:neovim/neovim?dir=contrib'` and the previous commands become: `nix run neovim`