Commit Graph

23 Commits

Author SHA1 Message Date
Emily
ee802060b8 neovim-unwrapped: drop darwin.libutil dependency 2024-11-06 00:53:02 +00:00
Gaétan Lepage
507c5dd232
neovim: remove uneffective substituteInPlace patches (#352855) 2024-11-01 23:01:38 +01:00
Gaetan Lepage
81f060299c neovim: improve lpeg patch for darwin
Co-authored-by: Carlos Hernandez <carlos@hrndz.ca>
2024-11-01 08:59:54 +01:00
Gaetan Lepage
233aa7648d neovim: format derivation 2024-11-01 08:58:27 +01:00
Randy Eckenrode
bed551533c
neovim-unwrapped: update build inputs for new Darwin SDK
The Darwin SDK in nixpkgs no longer provides libutil by default due to
possible confusion when packages (such as Python) detect `libutil.h` and
assume a different platform. Neovim requires it, so include it
explicitly on Darwin.
2024-10-10 01:06:53 -04:00
Gaetan Lepage
a4f79df599 neovim: 0.10.1 -> 0.10.2
Diff: https://github.com/neovim/neovim/compare/v0.10.1...v0.10.2

Changelog: https://github.com/neovim/neovim/releases/tag/v0.10.2
2024-10-04 12:02:31 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Philip Taron
2b3edda359
Merge pull request #335925 from wolfgangwalther/no-nix-flags-arrays
treewide: remove xxxFlagsArray from nix derivations
2024-08-20 12:31:54 -07:00
Wolfgang Walther
e3244e9ff0
treewide: replace xxxFlagsArray with non-Array variant in nix code
The xxxFlagsArray variants were never meant to be used in nix code, at
least they can't be used properly without __structuredAttrs turned on.

If no spaces are passed in the argument the xxxFlagsArray can be
replaced as-is with the non-Array variant. When whitespace needs to be
passed, the derivation is additionally changed to enable
__structuredAttrs.
2024-08-19 23:28:13 +02:00
Maximilian Bosch
6f4426f80f neovim-unwrapped: use outputChecks
`disallowedRequisites` and friends will be ignored if `__structuredAttrs`
is used. In Nix versions <2.24 and Lix <2.91 this happens silently, in
newer versions a warning is printed.

The solution is to use outputChecks.
2024-08-18 18:21:03 +02:00
Peder Bergebakken Sundt
29ab705c17 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
repeat of #271241
discussion: #272978

I did not replace the instance in eiwd, since it causes an infinite recursion.
2024-07-30 18:32:01 +02:00
Gaetan Lepage
7099947fe8 neovim: 0.10.0 -> 0.10.1
Diff: https://github.com/neovim/neovim/compare/v0.10.0...v0.10.1

Changelog: https://github.com/neovim/neovim/releases/tag/v0.10.1
2024-07-24 13:35:32 +02:00
kirillrdy
0bc1816966
Merge pull request #313890 from stasjok/neovim-fix-markdown-inline-parser
neovim-unwrapped: fix markdown_inline tree-sitter parser
2024-05-24 06:38:22 +10:00
Stanislav Asunkin
d28cf9c00b neovim-unwrapped: fix markdown_inline tree-sitter parser
Closes #312763.
2024-05-23 09:59:12 +03:00
Benoit de Chezelles
d5786c1b5d neovim: Update bundled tree-sitter parsers 2024-05-22 22:08:25 -03:00
Gaetan Lepage
7f731cae79 neovim: 0.9.5 -> 0.10.0
Changelog: https://neovim.io/doc/user/news-0.10.html
2024-05-22 22:08:15 -03:00
natsukium
76ef4c7888
Revert "neovim: Update bundled tree-sitter parsers"
This reverts commit 7f4c36c982.

neovim was accidentally bumped during the freeze period before release
with breaking changes.
This commit is related to neovim 0.10, so it is reverted for now.
2024-05-22 00:31:45 +09:00
Ryan Lahfa
db2ee05512 Revert "neovim: 0.9.5 -> 0.10.0"
The release schedule indicate that breaking changes are restricted
during this period, 752d81e439 ("neovim:
0.9.5 -> 0.10.0") was merged five days ago, full of breaking changes for
the NeoVim ecosystem.

This PR should go *after* the branch-off.
2024-05-21 12:22:42 +02:00
Stanislav Asunkin
903403da6d neovim-unwrapped: remove unused dependencies 2024-05-19 22:10:17 +03:00
Benoit de Chezelles
7f4c36c982 neovim: Update bundled tree-sitter parsers 2024-05-17 10:40:05 +02:00
Gaetan Lepage
752d81e439 neovim: 0.9.5 -> 0.10.0
Changelog: https://neovim.io/doc/user/news-0.10.html
2024-05-16 16:58:36 +02:00
Jan Tojnar
100509c030 Merge branch 'staging-next' into staging
Conflicts in luaPackages.luarocks-nix:

- 8b563cd9f9 switched to the new version format (prefixed by 0 since there was no relevant last tag in the branch).
  bc4f6fa543 bumped version and switched to the new version format. But the tag used is not part of the branch the commit comes from (master).

  Used the new version but replaced the tag prefix with 0.

- b73ec84b9e removed meta (it is already set in the overridden luarocks). But that would cause the update script to try to update the overridden luarocks (as did the previously used old.meta).
  bf311d950e modified meta to fix the update script properly.

  Kept the meta from the latter since it allows update script to work.
2024-05-05 14:50:32 +02:00
Matthieu C.
32d21ca630 neovim-unwrapped: move to pkgs/by name 2024-05-04 14:24:41 +02:00