Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rzls: init at 9.0.0-preview.25052.3 #371923

Closed
wants to merge 2 commits into from
Closed

Conversation

tris203
Copy link

@tris203 tris203 commented Jan 7, 2025

This PR introduces a derivation for building rzls (the Razor Language Server) from the dotnet/razor repository. While the C# plugin for VS Code bundles rzls for use within the editor, this derivation makes it accessible for other editors by building it separately.

Currently, the versioning process is manual due to Microsoft's build practices. There is an open issue in their repo about improving version tags to enable automated updates in the future.

Fix #369979

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label Jan 7, 2025
@NixOSInfra NixOSInfra added the 12. first-time contribution This PR is the author's first one; please be gentle! label Jan 7, 2025
@tris203
Copy link
Author

tris203 commented Jan 7, 2025

duplicate of #371569 but with a slightly newer version
@bretek do you have a preference over which one we go with? seems we came up with almost exactly the same thing

@tris203
Copy link
Author

tris203 commented Jan 7, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 371923


x86_64-linux

✅ 1 package built:
  • rzls

pkgs/by-name/rz/rzls/package.nix Outdated Show resolved Hide resolved
@l1npengtul l1npengtul added the 8.has: package (new) This PR adds a new package label Jan 8, 2025
@bretek
Copy link
Member

bretek commented Jan 8, 2025

duplicate of #371569 but with a slightly newer version @bretek do you have a preference over which one we go with? seems we came up with almost exactly the same thing

@tris203 😄 they do look very similar. I prefer mine because I've removed a lot of the flags and comments that seem to be unnecessary / specific to roslyn-ls. I've also now added an update script and brought my pull request up to 25052.3

@tris203
Copy link
Author

tris203 commented Jan 8, 2025

duplicate of #371569 but with a slightly newer version @bretek do you have a preference over which one we go with? seems we came up with almost exactly the same thing

@tris203 😄 they do look very similar. I prefer mine because I've removed a lot of the flags and comments that seem to be unnecessary / specific to roslyn-ls. I've also now added an update script and brought my pull request up to 25052.3

i agree, yours is cleaner. especially with the update script @bretek. would you be willing to cherry pick my maintainer commit onto your branch, and me as a maintainer in your derivation?

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Jan 8, 2025
@tris203
Copy link
Author

tris203 commented Jan 9, 2025

superceeded by #371569

@tris203 tris203 closed this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 12.approvals: 1 This PR was reviewed and approved by one reputable person 12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: rzls
5 participants