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
Isabel d2422771eb
nix flake show: add the description if it exists
(cherry picked from commit 8cd1d02f90eb9915e640c5d370d919fad9833c65)

nix flake show: Only print up to the first new line if it exists.

(cherry picked from commit 5281a44927bdb51bfe6e5de12262d815c98f6fe7)

add tests

(cherry picked from commit 74ae0fbdc70a5079a527fe143c4832d1357011f7)

Handle long strings, embedded new lines and empty descriptions

(cherry picked from commit 2ca7b3afdbbd983173a17fa0a822cf7623601367)

Account for total length of 80

(cherry picked from commit 1cc808c18cbaaf26aaae42bb1d7f7223f25dd364)

docs: add nix flake show description release note

fix: remove white space

nix flake show: trim length based on terminal size

test: account for terminal size

docs(flake-description): before and after commands; add myself to credits

Upstream-PR: https://github.com/NixOS/nix/pull/10980
Change-Id: Ie1c667dc816b3dd81e65a1f5395e57ea48ee0362
2024-07-23 13:21:15 +01:00
.github
bench
clang-tidy
contrib
doc nix flake show: add the description if it exists 2024-07-23 13:21:15 +01:00
lix-doc lix-doc: update dependencies and refactor 2024-07-10 02:25:48 +00:00
maintainers
meson
misc Fixup a bunch of references to nixos.org manuals 2024-07-18 19:27:33 +00:00
nix-support nix-support/binary-tarball.nix: Pass through root paths 2024-07-13 23:22:43 +00:00
perl
releng doc/release-notes: link the upcoming release notes again 2024-07-17 22:12:41 +00:00
scripts
src nix flake show: add the description if it exists 2024-07-23 13:21:15 +01:00
subprojects/aws_sdk
tests nix flake show: add the description if it exists 2024-07-23 13:21:15 +01:00
.clang-format
.clang-tidy
.dir-locals.el
.editorconfig
.envrc
.gitignore
.this-is-lix
CONTRIBUTING.md
COPYING
default.nix
docker.nix
flake.lock
flake.nix use clangStdenv for the default devShell, so we get clangd by default 2024-07-12 20:52:33 +00:00
justfile
meson.build remove boost coroutine references 2024-07-16 01:50:16 +00:00
meson.options
package.nix nix flake show: add the description if it exists 2024-07-23 13:21:15 +01:00
README.md
shell.nix
treefmt.toml
version.json

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.