A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth — and committed to doing right by its community https://lix.systems
Find a file
Maximilian Bosch 86eddb9e27
libexpr/flake: (opinionated) changes to interactive flake config
So I recently saw it the first time in the wild, I liked that you get
interactively asked about the nix.conf settings from the flake, but
there were a few minor things that I'd like to see changed:

* The `(y/N)` was somewhere in the middle of the line. Moved it to
  the end. At first I assumed it was a bug because another thread into
  my terminal while I was answering the question.

* I had to say no four times for a single flake with two options. So if
  you already know you don't want any of the config for _this_ flake, I
  found a `No to all` switch that ignores the rest of the nix.conf
  settings a little more ergonomic than having to stop the invocation,
  looking up the exact wording of `--no-accept-flake-config` and
  restarting it. Hence, I added it.

* Added a note where the choices which settings to trust are persisted.
  My initial assumption was that this went into `nix.conf` which is not
  writable on NixOS, so I said no there as well.

Change-Id: I0a0d9c403f0662df4707697a77f08e6cd003ec6f
2024-11-07 21:47:26 +01:00
.github
bench
contrib
doc libexpr/flake: (opinionated) changes to interactive flake config 2024-11-07 21:47:26 +01:00
maintainers
meson
misc
nix-support
perl
releng
scripts
src libexpr/flake: (opinionated) changes to interactive flake config 2024-11-07 21:47:26 +01:00
subprojects
tests Merge "Remove static initializers for RegisterLegacyCommand" into main 2024-10-09 20:37:58 +00:00
.clang-format
.clang-tidy
.dir-locals.el
.editorconfig editorconfig: Add meson.build 2024-10-01 16:09:47 -07:00
.envrc
.gitignore
.this-is-lix
Cargo.lock
Cargo.toml
CONTRIBUTING.md
COPYING
default.nix
docker.nix
flake.lock
flake.nix
justfile
meson.build Set c++ version to c++23 2024-10-08 20:05:28 +02:00
meson.options
package.nix
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 LGPL-2.1-or-later.