0e115a4828706e6c3551eacf6d78fac603f0f13f
When assigning an a value to NIX_GET_COMPLETIONS that could not be parsed as an integer lix would just crash, as the value was directly passed to stoi, without handling the return value. This change switches the parsing to use string2Int and throws an exception if the return value is empty. The behaviour of lix is slightly changed through, as the value of the variable was previously parsed to an int and then assigned to a variable of size_t. This change in behaviour can only be observed in cases where the value of NIX_GET_COMPLETIONS is chosen so when it overflows it would be valid index of the provided arguments again. Through this change the variable is parsed as a size_t and negative values are rejected. Change-Id: Idf7c5740274c6e07d5bb13d7e2ed32764bfc27f8
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%