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
Naïm Favier 5736661922
nix-env: always print output names in JSON and XML
The current `--out-path` flag has two disadvantages when one is only
concerned with querying the names of outputs:
- it requires evaluating every output's `outPath`, which takes
  significantly more resources and runs into more failures
- it destroys the information of the order of outputs so we can't tell
  which one is the main output

This patch makes the output names always present (replacing paths with
`null` in JSON if `--out-path` isn't given), and adds an `outputName`
field.
2022-03-16 21:26:19 +01:00
.github
config
contrib
doc/manual Move rl-next.md to rl-2.7.md 2022-03-07 20:10:18 +01:00
m4
maintainers Integrate push-docker.sh into the release script 2022-02-18 13:58:01 +01:00
misc
mk mk/run_test.sh: Add missing backslash 2022-03-02 21:36:46 +01:00
perl Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
scripts installer: allow overriding nix user GID and UIDs 2022-03-01 19:17:41 +01:00
src nix-env: always print output names in JSON and XML 2022-03-16 21:26:19 +01:00
tests Merge remote-tracking branch 'origin/eval-suggestions' 2022-03-11 12:02:26 +01:00
.dir-locals.el
.editorconfig
.gitignore
.version Bump version 2022-03-07 20:12:35 +01:00
boehmgc-coroutine-sp-fallback.diff
bootstrap.sh
configure.ac
COPYING
default.nix
docker.nix
flake.lock
flake.nix add sourcehut integration test 2022-02-23 11:58:09 -03:00
local.mk
Makefile
Makefile.config.in
precompiled-headers.h
README.md
shell.nix

Nix

Open Collective supporters Test

Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. Please refer to the Nix manual for more details.

Installation

On Linux and macOS the easiest way to install Nix is to run the following shell command (as a user other than root):

$ curl -L https://nixos.org/nix/install | sh

Information on additional installation methods is available on the Nix download page.

Building And Developing

See our Hacking guide in our manual for instruction on how to build nix from source with nix-build or how to get a development environment.

Additional Resources

License

Nix is released under the LGPL v2.1.