-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
zed-editor: init at 0.129.1 #284010
zed-editor: init at 0.129.1 #284010
Conversation
1db7ca8
to
168dedb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zed
-> zed-editor
in the commit message and the title.
98a9f55
to
fcac468
Compare
Hi,
|
It only supports darwin, not linux, for now. |
Oh 🥲 |
Building fails when compiling the media crate (here on
|
Probably add |
Indeed that helped ! It now fails with:
It looks like |
@GaetanLepage did |
No, I just didn't have done it yet. I did include both changes now (fontconfig + desktop file).
|
Looks like you grabbed the original version of the desktop item snippet, which hardcodes the full executable path and is missing the "inode/directory" mime type rather than the fixed version. Nevertheless, the build passes fine on my end:
|
5c629c5
to
084eea8
Compare
You are right ! Fixed. |
Did you get the tests to pass on your side? Tried with Nix on Ubuntu 24.04 now and it builds fine, but crashes on launch due to vulkan driver stuff (with both X11 and Wayland backends). Given that it works fine on NixOS I don't consider this a blocker though (assuming darwin is fine). |
This is a common problem, you probably can work around this with nixGL |
bcc3f47
to
eb2b2fc
Compare
Hey sorry for this newbie comment. I'm pretty new to nixos, how can I add this to my home manager flake? I spent an hour or so trying to figure it out and read a bunch online, can someone give some pointers? I want to try and test/use zed-editor on my machine. |
If you just want to try it, you can run If you want to add it to your configuration, add |
@wyndon thank you so much! you're amazing <3 |
Thanks @SuperSandro2000 for the review and merge :) |
Should this package not be visible at https://search.nixos.org/packages now that it has been merged to master? |
No, there is a delay between |
It typically takes some time to land from master to other channels; you can look at https://nixpk.gs/pr-tracker.html?pr=284010 to see if it's landed. (😆 looks like we made the same comment at around the same time) |
Thanks for the info 🙏 I was not aware of the PR tracker. I suspected that there would be some sort of delay but 20h seemed rather long. |
You can also peek at https://status.nixos.org to see when your release channel last got updated. There can easily be a few days of delay if CI is failing. |
It normally takes roughly ~3 days unfortunately, and that's an optimistic estimate. I really do wish something can be done about it, it would be disastrous the next time something like xz actually hits NixOS. |
I've locked the conversation to stop the general off topic chat in this PR as every comment pings 20 plus people.
It really depends on the changes that are going through and if there are regressions it takes a bit longer but we are generally really fast in the last months.
xz is a totally separate issue as this is part of the bootstrapping and updating those packages takes way longer because, well it is the bootstrapping. |
Description of changes
Add zed, a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.