Skip to content

nix: Remove package definition#22897

Closed
WeetHet wants to merge 1 commit intozed-industries:mainfrom
WHForks:remove-nix-package
Closed

nix: Remove package definition#22897
WeetHet wants to merge 1 commit intozed-industries:mainfrom
WHForks:remove-nix-package

Conversation

@WeetHet
Copy link
Contributor

@WeetHet WeetHet commented Jan 9, 2025

Let's be real. It's time to admit that having a nix package in the repo was an experiment and a failed one at that. After #21550, the build definitions were outdated for a month with no effort being made to improve the situation.

Nixpkgs has maintainers for the zed package willing to support building zed (only stable though), while trying to keep the build definitions in the repo up to date without team support is futile and will only create additional burden both on the zed team and the contributors, whose efforts would arguably be better spent working on different issues.

If someone really wants to run a nightly build of zed using nix, they could always do something similar to the approach I've tried in #22825. I've added an error pointing to it in place of the package with an intend to remove it later when it's reasonable to expect that anyone who is trying to use the package from the repo has seen it

A different solution would be for someone from the team to commit to supporting nightly builds using nix continuously, which I see as unlikely, seeing as that would probably slow down PRs and require contributors to know nix or for that team member to monitor PRs constantly

I've also taken the liberty to use nixpkgs-unstable ref for nixpkgs, as the dev shell is not nixos specific and thus updating nixpkgs should not be blocked on nixos-specific packages as well as updating to a maintained version of flake-compat

cc @SomeoneToIgnore @mrnugget

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 9, 2025
@WeetHet WeetHet mentioned this pull request Jan 9, 2025
2 tasks
@WeetHet WeetHet force-pushed the remove-nix-package branch from b3301a7 to 1a005c4 Compare January 9, 2025 14:48
@maxdeviant
Copy link
Member

I don’t see any harm in keeping them around, as they could serve as a useful starting point for someone who wants to help maintain them.

@maxdeviant maxdeviant closed this Jan 9, 2025
@WeetHet WeetHet deleted the remove-nix-package branch January 9, 2025 15:00
@zed-industries zed-industries locked and limited conversation to collaborators Feb 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants