9 rustPlatform.buildRustPackage rec {
11 version = "2024-08-06";
13 src = fetchFromGitHub {
17 hash = "sha256-DqsN/VkYVr4M0PVRQKXPPOTaind5miYZURIYqM4MxYM=";
20 useFetchCargoVendor = true;
21 cargoHash = "sha256-7TR/xTc66WpPszJDrpisVvHXl2+FGrUOskZAkGyY04Q=";
24 (lib.getBin nixVersions.latest)
27 env.CFG_RELEASE = version;
29 # might be related to https://github.com/NixOS/nix/issues/5884
31 export NIX_STATE_DIR=$(mktemp -d)
34 passthru.updateScript = nix-update-script { };
37 description = "Yet another language server for Nix";
38 homepage = "https://github.com/oxalica/nil";
39 changelog = "https://github.com/oxalica/nil/releases/tag/${version}";
40 license = with licenses; [
44 maintainers = with maintainers; [