mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 11:28:18 +00:00
nixos/neovim: Fix neovim runtime path generation
This commit is contained in:
parent
5e1e2914eb
commit
307b1253a7
@ -632,6 +632,13 @@
|
|||||||
wherever possible.
|
wherever possible.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<literal>programs.neovim.runtime</literal> switched to a
|
||||||
|
<literal>linkFarm</literal> internally, making it impossible
|
||||||
|
to use wildcards in the <literal>source</literal> argument.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="sec-release-21.11-notable-changes">
|
<section xml:id="sec-release-21.11-notable-changes">
|
||||||
|
@ -159,6 +159,8 @@ pt-services.clipcat.enable).
|
|||||||
|
|
||||||
- Deprecated package aliases in `emacs.pkgs.*` have been removed. These aliases were remnants of the old Emacs package infrastructure. We now use exact upstream names wherever possible.
|
- Deprecated package aliases in `emacs.pkgs.*` have been removed. These aliases were remnants of the old Emacs package infrastructure. We now use exact upstream names wherever possible.
|
||||||
|
|
||||||
|
- `programs.neovim.runtime` switched to a `linkFarm` internally, making it impossible to use wildcards in the `source` argument.
|
||||||
|
|
||||||
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
||||||
|
|
||||||
- The setting [`services.openssh.logLevel`](options.html#opt-services.openssh.logLevel) `"VERBOSE"` `"INFO"`. This brings NixOS in line with upstream and other Linux distributions, and reduces log spam on servers due to bruteforcing botnets.
|
- The setting [`services.openssh.logLevel`](options.html#opt-services.openssh.logLevel) `"VERBOSE"` `"INFO"`. This brings NixOS in line with upstream and other Linux distributions, and reduces log spam on servers due to bruteforcing botnets.
|
||||||
|
@ -7,18 +7,7 @@ let
|
|||||||
|
|
||||||
runtime' = filter (f: f.enable) (attrValues cfg.runtime);
|
runtime' = filter (f: f.enable) (attrValues cfg.runtime);
|
||||||
|
|
||||||
# taken from the etc module
|
runtime = pkgs.linkFarm "neovim-runtime" (map (x: { name = x.target; path = x.source; }) runtime');
|
||||||
runtime = pkgs.stdenvNoCC.mkDerivation {
|
|
||||||
name = "runtime";
|
|
||||||
|
|
||||||
builder = ../system/etc/make-etc.sh;
|
|
||||||
|
|
||||||
preferLocalBuild = true;
|
|
||||||
allowSubstitutes = false;
|
|
||||||
|
|
||||||
sources = map (x: x.source) runtime';
|
|
||||||
targets = map (x: x.target) runtime';
|
|
||||||
};
|
|
||||||
|
|
||||||
in {
|
in {
|
||||||
options.programs.neovim = {
|
options.programs.neovim = {
|
||||||
|
Loading…
Reference in New Issue
Block a user