a92e4b5c42d06f462c920a30052607abd2b54aa9
rust-analyzer binaries that don't come from nix (such as the one shipped with vscode's rust-analyzer extension by default) need the `RUST_SRC_PATH` env var to be the path to rustc's sources, but this wasn't set inside the devshell. this change explicitely adds it to the environment. (trying to add pkgs.rustLibSrc and rustcSrc to the shell's packages unfortunately does nothing, because they are just pure source packages, nothing more.) (the reason this probably didn't come up for other devs is because 1. a lot of lix devs use other editors that probably just use the binary from the path, and the devshell installs pkgs.rust-analyzer, which is patched to always have `RUST_SRC_PATH` set, and 2. because pkgs.vscode-extensions.rust-lang.rust-analyzer is also patched to use pkgs.rust-analyzer by default instead of the bundled one, so installing the extension using nix instead of from the marketplace would also hide this problem.) Change-Id: Ia27daf2a88756311ac5485ea0af44aae242241a9
Lix
Lix is an implementation of Nix, a powerful package management system for Linux and other Unix systems that makes package management reliable and reproducible.
Read more about us at https://lix.systems.
Installation
On Linux and macOS the easiest way to install Lix is to run the following shell command (as a user other than root):
$ curl -sSf -L https://install.lix.systems/lix | sh -s -- install
For systems that already have a Nix implementation installed, such as NixOS systems, read our install page
Building And Developing
See our Hacking guide in our manual for instruction on how to set up a development environment and build Lix from source.
Additional Resources
- The Lix reference manual:
- Our wiki
- Matrix - #space:lix.systems
License
Lix is released under LGPL-2.1-or-later.
Description
Working fork of Lix - carries the adaptive load-aware build-remote patch. Upstream: gerrit.lix.systems
92 MiB
Languages
C++
74.9%
Python
11.7%
Nix
6.1%
Shell
3.6%
Meson
2%
Other
1.6%