aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2023-03-14 14:19:25 -0600
committerCody Hiar <cody@hiar.ca>2023-03-14 14:19:25 -0600
commitd6c807877d04f8deaf200362aab56ab54060504f (patch)
treeb0d5b1240de265eaf5ac85ec0f75b130c94e0dec
parent9434c4520bff19e9d40c4f349869bfea5db34900 (diff)
Update to latest nixpkgs
-rw-r--r--flake.lock6
-rw-r--r--init.lua2
-rw-r--r--nix/flake8-isort.nix4
3 files changed, 6 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock
index f67a3ff..ffe1b88 100644
--- a/flake.lock
+++ b/flake.lock
@@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
- "lastModified": 1659487974,
- "narHash": "sha256-CVGOtR/Wyq3TVCjf8/kdnYD5G2JwUKUQVtd+5WIDTuY=",
+ "lastModified": 1678654296,
+ "narHash": "sha256-aVfw3ThpY7vkUeF1rFy10NAkpKDS2imj3IakrzT0Occ=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "12363fb6d89859a37cd7e27f85288599f13e49d9",
+ "rev": "5a1dc8acd977ff3dccd1328b7c4a6995429a656b",
"type": "github"
},
"original": {
diff --git a/init.lua b/init.lua
index 72e4dd6..f906d68 100644
--- a/init.lua
+++ b/init.lua
@@ -226,7 +226,7 @@ end
local servers = { 'jedi_language_server', 'bashls', 'terraformls' }
-- Add additional capabilities supported by nvim-cmp
local capabilities = vim.lsp.protocol.make_client_capabilities()
-capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)
+capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
-- Setup language servers
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {
diff --git a/nix/flake8-isort.nix b/nix/flake8-isort.nix
index 8d87c89..bb4a12c 100644
--- a/nix/flake8-isort.nix
+++ b/nix/flake8-isort.nix
@@ -2,10 +2,10 @@
buildPythonPackage rec {
pname = "flake8-isort";
- version = "4.1.2";
+ version = "6.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "Ez+3qCR5ssvbflCg58QccK4TbbjLgjl79kBhOoetb5o=";
+ sha256 = "sha256-U39FOmYNfpA/YC7Po2E2sUDeJ531jQLrG2oMhOg8Uow=";
};
checkInputs = with python3Packages; [ flake8 isort pytest ];
}