feat: update nvim flake

This commit is contained in:
2024-06-22 17:33:30 +03:00
parent b2620d58af
commit 0af68d5d75
2 changed files with 8 additions and 7 deletions

8
flake.lock generated
View File

@@ -59,16 +59,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1718208800, "lastModified": 1718895438,
"narHash": "sha256-US1tAChvPxT52RV8GksWZS415tTS7PV42KTc2PNDBmc=", "narHash": "sha256-k3JqJrkdoYwE3fHE6xGDY676AYmyh4U2Zw+0Bwe5DLU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cc54fb41d13736e92229c21627ea4f22199fee6b", "rev": "d603719ec6e294f034936c0d0dc06f689d91b6c3",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-24.05", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@@ -1,7 +1,7 @@
{ {
description = "NVIM Configuration"; description = "NVIM Configuration";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
neovim = { neovim = {
url = "github:neovim/neovim/stable?dir=contrib"; url = "github:neovim/neovim/stable?dir=contrib";
@@ -9,7 +9,6 @@
}; };
}; };
outputs = inputs @ { outputs = inputs @ {
self,
nixpkgs, nixpkgs,
flake-utils, flake-utils,
neovim, neovim,
@@ -17,7 +16,9 @@
}: }:
flake-utils.lib.eachDefaultSystem (system: let flake-utils.lib.eachDefaultSystem (system: let
overlayFlakeInputs = prev: final: { overlayFlakeInputs = prev: final: {
neovim = neovim.packages.${system}.neovim; neovim = neovim.packages.${system}.neovim.overrideAttrs (oa: {
nativeBuildInputs = oa.nativeBuildInputs ++ [final.libtermkey];
});
}; };
overlayLazyVim = prev: final: { overlayLazyVim = prev: final: {