Loading maintainers/maintainer-list.nix +5 −0 Original line number Diff line number Diff line Loading @@ -1703,6 +1703,11 @@ githubId = 81317317; name = "Anna Aurora"; }; anninzy = { github = "anninzy"; githubId = 143312793; name = "Annin"; }; anoa = { matrix = "@andrewm:amorgan.xyz"; email = "andrew@amorgan.xyz"; Loading pkgs/applications/editors/vim/plugins/overrides.nix +3 −3 Original line number Diff line number Diff line Loading @@ -118,6 +118,8 @@ # typst-preview dependencies tinymist, websocat, # luau-lsp-nvim dependencies luau-lsp, }: self: super: let Loading Loading @@ -1690,9 +1692,7 @@ in luau-lsp-nvim = super.luau-lsp-nvim.overrideAttrs { dependencies = [ self.plenary-nvim ]; # TODO: add luau-lsp to nixpkgs (#395892) # runtimeDeps = [ luau-lsp ]; runtimeDeps = [ luau-lsp ]; }; magma-nvim = super.magma-nvim.overrideAttrs { Loading pkgs/by-name/lu/luau-lsp/package.nix 0 → 100644 +70 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake, versionCheckHook, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "luau-lsp"; version = "1.45.0"; src = fetchFromGitHub { owner = "JohnnyMorganz"; repo = "luau-lsp"; tag = finalAttrs.version; hash = "sha256-OJAjTy0vTRb43TTiPeXafWq4kjIpnDXoTprVzbMnaWQ="; fetchSubmodules = true; }; NIX_CFLAGS_COMPILE = "-Wno-error"; cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ (lib.cmakeFeature "CMAKE_OSX_ARCHITECTURES" stdenv.hostPlatform.darwinArch) ]; nativeBuildInputs = [ cmake ]; buildPhase = '' runHook preBuild cmake --build . --target Luau.LanguageServer.CLI --config Release runHook postBuild ''; installPhase = '' runHook preInstall install -D luau-lsp $out/bin/luau-lsp runHook postInstall ''; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru.updateScript = nix-update-script { }; meta = { description = "Language Server Implementation for Luau"; homepage = "https://github.com/JohnnyMorganz/luau-lsp"; downloadPage = "https://github.com/JohnnyMorganz/luau-lsp/releases/tag/${finalAttrs.version}"; changelog = "https://github.com/JohnnyMorganz/luau-lsp/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ anninzy HeitorAugustoLN ]; mainProgram = "luau-lsp"; platforms = lib.platforms.all; badPlatforms = [ # Could not find a package configuration file provided by "Protobuf" # It is unclear why this is only happening on x86_64-darwin "x86_64-darwin" ]; }; }) Loading
maintainers/maintainer-list.nix +5 −0 Original line number Diff line number Diff line Loading @@ -1703,6 +1703,11 @@ githubId = 81317317; name = "Anna Aurora"; }; anninzy = { github = "anninzy"; githubId = 143312793; name = "Annin"; }; anoa = { matrix = "@andrewm:amorgan.xyz"; email = "andrew@amorgan.xyz"; Loading
pkgs/applications/editors/vim/plugins/overrides.nix +3 −3 Original line number Diff line number Diff line Loading @@ -118,6 +118,8 @@ # typst-preview dependencies tinymist, websocat, # luau-lsp-nvim dependencies luau-lsp, }: self: super: let Loading Loading @@ -1690,9 +1692,7 @@ in luau-lsp-nvim = super.luau-lsp-nvim.overrideAttrs { dependencies = [ self.plenary-nvim ]; # TODO: add luau-lsp to nixpkgs (#395892) # runtimeDeps = [ luau-lsp ]; runtimeDeps = [ luau-lsp ]; }; magma-nvim = super.magma-nvim.overrideAttrs { Loading
pkgs/by-name/lu/luau-lsp/package.nix 0 → 100644 +70 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake, versionCheckHook, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "luau-lsp"; version = "1.45.0"; src = fetchFromGitHub { owner = "JohnnyMorganz"; repo = "luau-lsp"; tag = finalAttrs.version; hash = "sha256-OJAjTy0vTRb43TTiPeXafWq4kjIpnDXoTprVzbMnaWQ="; fetchSubmodules = true; }; NIX_CFLAGS_COMPILE = "-Wno-error"; cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ (lib.cmakeFeature "CMAKE_OSX_ARCHITECTURES" stdenv.hostPlatform.darwinArch) ]; nativeBuildInputs = [ cmake ]; buildPhase = '' runHook preBuild cmake --build . --target Luau.LanguageServer.CLI --config Release runHook postBuild ''; installPhase = '' runHook preInstall install -D luau-lsp $out/bin/luau-lsp runHook postInstall ''; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru.updateScript = nix-update-script { }; meta = { description = "Language Server Implementation for Luau"; homepage = "https://github.com/JohnnyMorganz/luau-lsp"; downloadPage = "https://github.com/JohnnyMorganz/luau-lsp/releases/tag/${finalAttrs.version}"; changelog = "https://github.com/JohnnyMorganz/luau-lsp/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ anninzy HeitorAugustoLN ]; mainProgram = "luau-lsp"; platforms = lib.platforms.all; badPlatforms = [ # Could not find a package configuration file provided by "Protobuf" # It is unclear why this is only happening on x86_64-darwin "x86_64-darwin" ]; }; })