diff --git a/flake.lock b/flake.lock index 472337d..e27d22d 100644 --- a/flake.lock +++ b/flake.lock @@ -108,6 +108,39 @@ "type": "indirect" } }, + "flake-parts_4": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_2" + }, + "locked": { + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-root": { + "locked": { + "lastModified": 1723604017, + "narHash": "sha256-rBtQ8gg+Dn4Sx/s+pvjdq3CB2wQNzx9XGFq/JVGCB6k=", + "owner": "srid", + "repo": "flake-root", + "rev": "b759a56851e10cb13f6b8e5698af7b59c44be26e", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "flake-root", + "type": "github" + } + }, "flake-utils": { "inputs": { "systems": "systems" @@ -350,6 +383,27 @@ "type": "github" } }, + "nixd": { + "inputs": { + "flake-parts": "flake-parts_4", + "flake-root": "flake-root", + "nixpkgs": "nixpkgs_2", + "treefmt-nix": "treefmt-nix_2" + }, + "locked": { + "lastModified": 1735752858, + "narHash": "sha256-YzrT9iIODyf96XLhgDi2ESKvrl1v7iNhMqMdNjTTSW4=", + "owner": "nix-community", + "repo": "nixd", + "rev": "17b7dfd1b4a888ded1bbf875b7601e40f43f94e8", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixd", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1718714799, @@ -378,6 +432,18 @@ "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" } }, + "nixpkgs-lib_2": { + "locked": { + "lastModified": 1733096140, + "narHash": "sha256-1qRH7uAUsyQI7R1Uwl4T+XvdNv778H0Nb5njNrqvylY=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1720386169, @@ -395,6 +461,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1734435836, + "narHash": "sha256-kMBQ5PRiFLagltK0sH+08aiNt3zGERC2297iB6vrvlU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "4989a246d7a390a859852baddb1013f825435cee", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1735834308, "narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=", @@ -433,7 +515,8 @@ "neotab-nvim": "neotab-nvim", "neovim-nightly": "neovim-nightly", "nerdy-nvim": "nerdy-nvim", - "nixpkgs": "nixpkgs_2", + "nixd": "nixd", + "nixpkgs": "nixpkgs_3", "nvim-emmet": "nvim-emmet" } }, @@ -472,6 +555,27 @@ "repo": "treefmt-nix", "type": "github" } + }, + "treefmt-nix_2": { + "inputs": { + "nixpkgs": [ + "nixd", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1734704479, + "narHash": "sha256-MMi74+WckoyEWBRcg/oaGRvXC9BVVxDZNRMpL+72wBI=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "65712f5af67234dad91a5a4baee986a8b62dbf8f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index d2be633..29a8d8f 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,8 @@ url = "github:olrtg/nvim-emmet"; flake = false; }; + + nixd.url = "github:nix-community/nixd"; }; outputs = inputs @ { diff --git a/nix/neovim-overlay.nix b/nix/neovim-overlay.nix index 77e448a..db2a82e 100644 --- a/nix/neovim-overlay.nix +++ b/nix/neovim-overlay.nix @@ -152,7 +152,7 @@ with final.pkgs.lib; let bash-language-server emmet-language-server lua-language-server - nixd + inputs.nixd.packages.${pkgs.system}.nixd phpactor stylelint-lsp taplo