A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth — and committed to doing right by its community
Find a file
Mario Rodas a05de58ebd tests: fix daemon version in isDaemonNewer function
Since ad8a4b380e, the version printer returns "nix (Lix, like Nix) 2.x",
hence the `daemonVersion` was being set to the string "like".

Using `compareVersions` with a letter compares them lexicographically:

   builtins.compareVersions "like" "2.12pre20230103"  // => -1
   builtins.compareVersions "like" "2.16.0"           // => -1

This caused that `isDaemonNewer` always returned 1, falsy in Bash terms.
Therefore, the test suite skipped those tests where they use it.

Fixes lix-project/lix#324

Change-Id: If6682515bf0bf8b8add641af9a4e98b50a9acb51
2024-06-08 04:20:00 +00:00
.github
bench
clang-tidy
contrib
doc Add meson release note 2024-06-06 15:08:12 -07:00
lix-doc
maintainers Remove rl-next-dev 2024-06-06 15:08:12 -07:00
meson
misc Remove rl-next-dev 2024-06-06 15:08:12 -07:00
nix-support Move version to a JSON file so we can have release names 2024-06-06 15:08:12 -07:00
perl Move version to a JSON file so we can have release names 2024-06-06 15:08:12 -07:00
scripts
src build: expose option to enable or disable precompiled std headers 2024-06-06 12:46:26 -06:00
subprojects/aws_sdk
tests tests: fix daemon version in isDaemonNewer function 2024-06-08 04:20:00 +00:00
.clang-format
.clang-tidy
.dir-locals.el
.editorconfig
.envrc
.gitignore
boehmgc-coroutine-sp-fallback.diff
boehmgc-traceable_allocator-public.diff
CONTRIBUTING.md
COPYING
default.nix
docker.nix Move version to a JSON file so we can have release names 2024-06-06 15:08:12 -07:00
flake.lock
flake.nix Move version to a JSON file so we can have release names 2024-06-06 15:08:12 -07:00
justfile
meson.build Merge changes from topic "releng" into main 2024-06-07 03:53:31 +00:00
meson.options build: expose option to enable or disable precompiled std headers 2024-06-06 12:46:26 -06:00
package.nix Merge changes from topic "releng" into main 2024-06-07 03:53:31 +00:00
README.md
shell.nix
treefmt.toml
version.json Move version to a JSON file so we can have release names 2024-06-06 15:08:12 -07:00

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 the LGPL v2.1.