diff options
| -rw-r--r-- | configuration.nix | 22 | ||||
| -rw-r--r-- | external/nvim/neovim.nix | 2 |
2 files changed, 3 insertions, 21 deletions
diff --git a/configuration.nix b/configuration.nix index 4492272..2fca5a1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -104,26 +104,7 @@ in { }; # Nix config - nixpkgs.overlays = [ (self: super: { - tree-sitter-updated = super.tree-sitter.overrideAttrs(oldAttrs: { - postInstall = '' - PREFIX=$out make install; - ''; - }); - neovim-unwrapped = super.neovim-unwrapped.overrideAttrs (oldAttrs: rec { - name = "neovim-nightly"; - version = "0.5-nightly"; - src = self.fetchFromGitHub { - owner = "neovim"; - repo = "neovim"; - rev = "nightly"; - sha256 = "0vpjdd32lgzyh85gyazqpms8vmaad6px3zx2svdxhvcdxgschqz9"; - }; - - nativeBuildInputs = with self.pkgs; [ unzip cmake pkgconfig gettext tree-sitter-updated ]; - }); - })]; - + nixpkgs.overlays = [ (import ./external/nvim/neovim.nix) ]; # Packages environment.systemPackages = with pkgs; [ @@ -142,6 +123,7 @@ in { w3m xorg.xrandr xorg.xmodmap + # qutebrowser mpv sxiv diff --git a/external/nvim/neovim.nix b/external/nvim/neovim.nix index ef0254a..c9f93d0 100644 --- a/external/nvim/neovim.nix +++ b/external/nvim/neovim.nix @@ -1,7 +1,7 @@ self: super: { tree-sitter-updated = super.tree-sitter.overrideAttrs(oldAttrs: { postInstall = '' - PREFIX=$out make install; + PREFIX=$out make install; ''; }); neovim-unwrapped = super.neovim-unwrapped.overrideAttrs (oldAttrs: rec { |
