Commit Graph

370 Commits

Author SHA1 Message Date
Martin Weinelt
3321e63b12
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
Gaétan Lepage
63e129f793
buildNeovimPlugin: set version accordingly to the manual guidelines (#289008)
https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-naming
2024-02-25 18:15:04 +01:00
Matthieu Coudron
000b7bfd47
buildLuarocksPackage: ability to self reference extraConfig (#288253)
makes overrideAttrs for lua packages even more powerful.
As a consequence, it simplifies the implementation of buildNeovimPlugin.
2024-02-12 18:11:24 +01:00
Matthieu Coudron
bd6def34e2
neovimUtils.buildNeovimPlugin: use version from derivation if missing (#288251)
Trying to use:
`plugin = pkgs.neovimUtils.buildNeovimPlugin { luaAttr = "rocks-nvim"; };`

fails with:

```
error: attribute 'version' missing

at /nix/store/0ww4wsg5q5hmnzv06a0k1q32jc49y7gi-source/pkgs/applications/editors/neovim/build-neovim-plugin.nix:28:19:

    27|         })).overrideAttrs (drv: {
    28|         version = attrs.version;
	|                   ^
    29|         rockspecVersion = drv.rockspecVersion;
```

This PR fixes it.
2024-02-12 11:15:54 +01:00
R. Ryantm
7ba3caea70 neovide: 0.12.1 -> 0.12.2 2024-01-29 18:11:20 +01:00
github-actions[bot]
8c2ba7797a
Merge master into staging-next 2024-01-25 12:01:19 +00:00
John Chadwick
a55b396e05 neovim: also unset PYTHONSAFEPATH in python wrapper 2024-01-22 23:58:49 -05:00
Matthieu Coudron
cbb7b09bad neovim-unwrapped: enable structuredAttrs
To make treesitter-parsers referencable via finalAttrs, making it easier to modify/explore via repl
2024-01-16 10:05:21 +01:00
Matthieu Coudron
c4be1f71a5 neovim-unwrapped: use finalAttrs
finalAttrs is more discoverable via REPL, hence I
- referenced doCheck via finalAttrs
2024-01-16 10:05:21 +01:00
Nathan Henrie
e2bb36a115 neovide: fix build for aarch64-darwin
Thanks to @wegank for https://github.com/NixOS/nixpkgs/pull/274839/files

This also reenables checks, which pass once given access to neovim.
2024-01-07 05:24:58 -07:00
MultisampledNight
834794c97e
neovide: 0.12.0 -> 0.12.1 2024-01-05 01:56:15 +01:00
Gaetan Lepage
96496184b1 neovim: 0.9.4 -> 0.9.5
Changelog: https://github.com/neovim/neovim/releases/tag/v0.9.5
2023-12-30 15:39:00 +01:00
Matthieu Coudron
022cbac13d neovim: make generated wrapper args overridable
especially useful in home-manager to remove the generated options
2023-12-27 23:01:38 +01:00
Lucas Hoffmann
1ada32da4b
neovim: generate init.lua by default (#222907)
* wrapNeovimUnstable: generate lua rc files by default

backwards compatible. The viml source is source from init.lua 

---------

Co-authored-by: Matthieu Coudron <886074+teto@users.noreply.github.com>
2023-12-27 20:38:59 +01:00
MultisampledNight
1a179d00cc
neovide: 0.11.2 -> 0.12.0 2023-12-25 12:00:59 +01:00
Marc Jakobi
6e3af65947 luaPackages.nvim-client: remove 2023-12-17 17:37:25 +01:00
Cynthia Fox
6b83dc8ff8 neovim-qt: Add meta.mainProgram
Add a `meta.mainProgram` attribute to allow use of `lib.getExe` properly
with this program.
2023-12-13 01:05:47 +01:00
Vladimír Čunát
d811555465
Merge branch 'staging' into staging-next 2023-10-26 10:36:50 +02:00
R. Ryantm
2f90fcb973 neovim-qt-unwrapped: 0.2.17 -> 0.2.18 2023-10-23 15:16:54 +02:00
github-actions[bot]
613d60266a
Merge staging-next into staging 2023-10-21 00:02:49 +00:00
h7x4
e6321d2788
treewide: remove execute bit for non-executable *.nix files 2023-10-20 19:55:39 +02:00
Matthieu Coudron
72729d323f neovim: run hooks for build phase
the latest changes skipped the postBuild hook which in turn would prevent the wrapping from being done
2023-10-11 01:58:44 +02:00
github-actions[bot]
d384d8bec5
Merge staging-next into staging 2023-10-10 12:02:04 +00:00
Gaetan Lepage
b8eebcad82 neovim: 0.9.2 -> 0.9.4 2023-10-10 10:44:03 +02:00
github-actions[bot]
dc6e881362
Merge staging-next into staging 2023-10-04 00:02:53 +00:00
Hung Tran
7b6b919f3a
neovim: patch liblpeg to work with clang on darwin (#257366)
This is a better-scoped change to patch broken interaction of neovim-lpeg on darwin.

more info at https://github.com/NixOS/nixpkgs/issues/229275

closes #257003
fixes #229275
2023-10-03 12:57:07 +02:00
Matthieu Coudron
61b61a20fc neovim.tests.nvim_autowrap: remove warning 2023-09-28 23:33:43 +02:00
Matthieu Coudron
7d810bf8a4 neovim: enable structured attributes 2023-09-28 23:33:43 +02:00
Yusup
801e33f562
neovim: pass wrapper args only once (#257136) 2023-09-25 11:04:15 +02:00
MultisampledNight
5ee2279901
neovide: 0.11.1 -> 0.11.2
https://github.com/neovide/neovide/releases/tag/0.11.2
2023-09-08 18:54:16 +02:00
Gaetan Lepage
b352ab677b neovim: 0.9.1 -> 0.9.2 2023-09-07 13:08:00 +02:00
MultisampledNight
999a8951e3 neovide: 0.11.0 -> 0.11.1
https://github.com/neovide/neovide/releases/tag/0.11.1
2023-08-18 16:18:11 +02:00
MultisampledNight
b8f594806e
neovide: add multisn8 as a maintainer 2023-08-08 20:46:50 +02:00
Christian Kögler
211c5ed98b neovide: 0.10.4 -> 0.11.0 2023-08-07 23:32:30 +02:00
Artturin
81217587e6 neovim-unwrapped: fix cross
sed commands are from void-packages
2023-07-26 06:48:56 +03:00
ners
1c52dbd0f1 neovim-qt: fix desktop icon passthrough 2023-07-17 14:56:11 +02:00
figsoda
a040c852e6 neovim: install the required perl modules 2023-07-05 19:38:58 -04:00
Matthieu Coudron
2473b44627 neovim: add perl to supported providers
false by default.
I noticed checkhealth complaining about it

Which made me realize the providers ignored user config and were always
using default config, hence the backport.
2023-07-06 01:32:01 +02:00
Nick Cao
03615b4837
neovim: use msgpack-c instead of msgpack 2023-06-22 18:31:00 +08:00
Matthieu Coudron
3b0f5393d9 neovimUtils.grammarToPlugin: install tree-sitter grammars for neovim without nvim-treesitter
nvim-treesitter installs tons of queries that are picked up
by neovim even though we sometimes dont want those queries.
This makes it possible to install grammars without nvim-treesitter which
becomes more and more a repository like nvim-lspconfig, aka a repo that
lists others.
2023-06-12 18:36:14 +02:00
Matthieu Coudron
8255903b71 neovimUtils.buildNeovimPluginFrom2Nix: rename to buildNeovimPlugin
buildNeovimPluginFrom2Nix was cargo-culted from buildVimPluginFrom2Nix
but this doesn't make sense.
From2Nix referred to a way of building plugins that is not used anymore
so buildVimPluginFrom2Nix could be renamed too.
2023-06-12 16:46:52 +02:00
Gaetan Lepage
f1423fd5ae neovim: 0.9.0 -> 0.9.1 2023-05-30 00:17:30 +02:00
figsoda
49b3739585
Merge pull request #226323 from figsoda/neovim 2023-05-09 21:36:38 -04:00
Rémi NICOLE
6810db9123
gnvim: 0.1.6 -> 0.3.1 (#204082) 2023-05-09 13:16:59 +02:00
figsoda
a002cddf22
Merge pull request #227159 from figsoda/neovim-ts 2023-05-02 18:39:51 -04:00
figsoda
79a85d3ce5 neovim: bundle treesitter parsers 2023-04-19 21:17:19 -04:00
Matthieu Coudron
e2d6e8e19d
Merge pull request #219400 from symphorien/debug_nvim
neovim, libuv: add debug output
2023-04-18 23:37:18 +02:00
figsoda
5b3534dd2e neovim-unwrapped: apply patch to fix the #gsub! directive 2023-04-15 13:58:35 -04:00