Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nix-community/neovim-nightly-overlay
[maintainer=@GaetanLepage, @willruggiano]
https://github.com/nix-community/neovim-nightly-overlay
neovim nix nix-community-buildbot
Last synced: 3 months ago
JSON representation
[maintainer=@GaetanLepage, @willruggiano]
- Host: GitHub
- URL: https://github.com/nix-community/neovim-nightly-overlay
- Owner: nix-community
- Created: 2020-08-23T18:25:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T04:00:26.000Z (3 months ago)
- Last Synced: 2024-10-29T17:43:33.041Z (3 months ago)
- Topics: neovim, nix, nix-community-buildbot
- Language: Nix
- Homepage: https://matrix.to/#/#neovim-nightly-overlay:nixos.org
- Size: 938 KB
- Stars: 317
- Watchers: 7
- Forks: 48
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# To use the overlay
## with Flakes
If you are using [flakes] to configure your system, you can either reference the
package provided by this flake directly, e.g. for nixos:```nix
{ inputs, pkgs, ... }:
{
programs.neovim = {
enable = true;
package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default;
};# or
environment.systemPackages = [
inputs.neovim-nightly-overlay.packages.${pkgs.system}.default
];
}
```or you can apply the overlay to your package set, e.g for home-manager:
```nix
{
inputs = {
...
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};outputs = { self, ... }@inputs:
let
overlays = [
inputs.neovim-nightly-overlay.overlays.default
];
in
homeConfigurations = {
macbook-pro = inputs.home-manager.lib.homeManagerConfiguration {
modules = [
{
nixpkgs.overlays = overlays;
};
];
};
};
}
```## without Flakes
Add the overlay to your home.nix (home-manager) or configuration.nix (nixos):
```nix
{
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = "https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz";
}))
];
}
```
Due to some nixpkgs breaking changes if you are using NixOS 24.05 use the overlay below
*also requires that you have the nixpkgs-unstable `nix-channel`*
```nix
{
nixpkgs.config = {
packageOverrides = pkgs: let
pkgs' = import {
inherit (pkgs) system;
overlays = [
(import (builtins.fetchTarball {
url = "https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz";
}))
];
};
in {
inherit (pkgs') neovim;
};
};
}
```# Binary cache
See: https://app.cachix.org/cache/nix-community
[flakes]: https://wiki.nixos.org/wiki/Flakes