Skip to content

Commit

Permalink
fix(nix): Switch to getting nvim nightly from nix-community/neovim-ni…
Browse files Browse the repository at this point in the history
…ghtly-overlay
  • Loading branch information
mrjones2014 committed Feb 9, 2024
1 parent 1065d9d commit ff85bd2
Show file tree
Hide file tree
Showing 7 changed files with 128 additions and 67 deletions.
129 changes: 124 additions & 5 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-flake = {
url = "github:neovim/neovim?dir=contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
arkenfox = {
url = "github:dwarfmaster/arkenfox-nixos";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down
1 change: 1 addition & 0 deletions home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ in {
inherit inputs;
inherit pkgs;
}))
inputs.neovim-nightly-overlay.overlay
];
home = {
username = "mat";
Expand Down
1 change: 1 addition & 0 deletions home-manager/server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
inherit inputs;
inherit pkgs;
}))
inputs.neovim-nightly-overlay.overlay
];
home = {
username = "mat";
Expand Down
13 changes: 1 addition & 12 deletions packages/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
{ inputs, pkgs, ... }:
let
inherit (pkgs) stdenv;
inherit (stdenv) isLinux;
inherit (inputs.neovim-flake) packages;
neovim = if isLinux then
packages.x86_64-linux.neovim
else
packages.aarch64-darwin.neovim;
in {
neovim-nightly = pkgs.callPackage ./neovim-nightly.nix { inherit neovim; };
}
{ inputs, pkgs, ... }: { }
10 changes: 0 additions & 10 deletions packages/libvterm-neovim.nix

This file was deleted.

36 changes: 0 additions & 36 deletions packages/neovim-nightly.nix

This file was deleted.

0 comments on commit ff85bd2

Please sign in to comment.