7928669ef9d6a86dc16932722f3f2596763fd013
This replicates behaviour found in the Nix2 commands, where IN_NIX_SHELL is set. This is for shells to determine whether they are inside of a Nix3 shell, and set a custom prompt accordingly. For example, Fish's Tide prompt framework checks for that environment variable and displays it in the prompt, indicating that the shell is in a Nix environment. This is not new behaviour, and the old Nix2 commands set the variable. If the shell that is created is a "pure" shell, ie --ignore-environment is passed, then IN_NIX_SHELL will be set to "pure". However, "nix develop" will always create an impure environment. Replicated from my Nix PR: https://github.com/NixOS/nix/pull/8885 Change-Id: I695cdc336f76541940a302835124fe7d8f7f39b2 Signed-off-by: Ersei Saggi <vcs@ersei.net>
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 to set up a development environment and build Lix from source.
Additional Resources
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%