this post was submitted on 10 Jul 2024
397 points (95.0% liked)

Linux

48208 readers
895 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
397
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

Zed is a modern open-source code editor, built from the ground up in Rust with a GPU-accelerated renderer.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 27 points 4 months ago (2 children)

I mean its already in the nix repos as well as homebrew which means its essentially taken care of

[–] [email protected] 11 points 4 months ago (1 children)

So it should say hey check your distros package repos first.

[–] [email protected] 3 points 4 months ago

Yeah. Especially rather than saying "curl/bash" is the preferred way of installing.

[–] [email protected] 9 points 4 months ago (1 children)

I've been using it with the nix package manager. It's awesome how easy nix works

[–] [email protected] 5 points 4 months ago (1 children)

It appears to be a couple of versions behind ... and have some issues with dynamically linked libraries that hinder LSPs. Neither of these is Zed's fault. I'm sure the packaged version will be up to date momentarily (given the interest in Zed, sooner rather than later). Not sure how easy the LSP thing will be to fix, though there are some workarounds in the github issue.

[–] [email protected] 5 points 4 months ago

yeah the editor is being updated way too fast for nix to keep up. I'm sure it'll be easier once it has its stable release. I see the have a nix flake in the repo, it would be great if they added a package to the outputs instead of just a devshell, nix users could easily build it from master or whichever tag they want.

There are solutions in this issue to the LSP issue. The editor would need to be built in an fhs-env, or they will need to find a way to make it uses binaries installed with nix instead of the ones it downloads itself. VSCode had a similar issue, so there is a version of the package that let's you install extensions through nix, and another that uses an fhs-env that allows extensions to work out of the box.