From 56b517ad3bcadcd4105e6ddcf71f9d4e08ebc2f7 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Wed, 2 Apr 2025 12:30:53 +0800 Subject: [PATCH] fix: update to nvf fork to fix pylsp issue --- flake.lock | 11 ++++++----- flake.nix | 2 +- modules/programs/nvf/languages.nix | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 6e22828..6976ee2 100644 --- a/flake.lock +++ b/flake.lock @@ -1290,15 +1290,16 @@ "systems": "systems_4" }, "locked": { - "lastModified": 1743301931, - "narHash": "sha256-gex4W+Fyn6RB8x9/y+VWY1EG6RItmlW1HJjAj3mWqKc=", - "owner": "notashelf", + "lastModified": 1743568014, + "narHash": "sha256-yGegHHE/dIhFFgDIwSVM8LsgWuNaL5lxKaWQyPF2LJs=", + "owner": "rrvsh", "repo": "nvf", - "rev": "05489d95b69b4c81e9b9a66a23f6e0cb1c8edb3d", + "rev": "f6511e77c41bb9c0818b06e458c5f6a25ce7b3e2", "type": "github" }, "original": { - "owner": "notashelf", + "owner": "rrvsh", + "ref": "fix/pylsp-pkgs", "repo": "nvf", "type": "github" } diff --git a/flake.nix b/flake.nix index cdfa162..8afb34e 100644 --- a/flake.nix +++ b/flake.nix @@ -86,7 +86,7 @@ nixd.url = "github:nix-community/nixd"; nixos-hardware.url = "github:nixos/nixos-hardware"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - nvf.url = "github:notashelf/nvf"; + nvf.url = "github:rrvsh/nvf/fix/pylsp-pkgs"; sops-nix.url = "github:Mic92/sops-nix"; spicetify-nix.url = "github:Gerg-L/spicetify-nix"; stylix.url = "github:danth/stylix"; diff --git a/modules/programs/nvf/languages.nix b/modules/programs/nvf/languages.nix index e0a2b28..36e6f8b 100644 --- a/modules/programs/nvf/languages.nix +++ b/modules/programs/nvf/languages.nix @@ -16,6 +16,7 @@ nix.enable = true; nix.format.type = "nixfmt"; python.enable = true; + python.lsp.server = "python-lsp-server"; rust.enable = true; rust.crates.enable = true; ts.enable = true;