From d6c807877d04f8deaf200362aab56ab54060504f Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 14 Mar 2023 14:19:25 -0600 Subject: Update to latest nixpkgs --- flake.lock | 6 +++--- init.lua | 2 +- nix/flake8-isort.nix | 4 ++-- 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 ]; } -- cgit v1.2.3