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
regnat 9355ecd543 Add a new Cmd type working on RealisedPaths
Where a `RealisedPath` is a store path with its history, meaning either
an opaque path for stuff that has been directly added to the store, or a
`Realisation` for stuff that has been built by a derivation

This is a low-level refactoring that doesn't bring anything by itself
(except a few dozen extra lines of code :/ ), but raising the
abstraction level a bit is important on a number of levels:

- Commands like `nix build` have to query for the realisations after the
  build is finished which is fragile (see
  27905f12e4a7207450abe37c9ed78e31603b67e1 for example). Having them
  oprate directly at the realisation level would avoid that
- Others like `nix copy` currently operate directly on (built) store
  paths, but need a bit more information as they will need to register
  the realisations on the remote side
2021-01-28 09:38:44 +01:00
.github
config
contrib
doc/manual Group common options 2021-01-25 19:03:13 +01:00
m4
maintainers
misc
mk
nix-rust
perl Make sodium a required dependency 2021-01-06 17:56:53 +01:00
scripts scripts/install-nix-from-closure: only show progress if a terminal is used 2021-01-22 10:35:02 +01:00
src Add a new Cmd type working on RealisedPaths 2021-01-28 09:38:44 +01:00
tests Merge pull request #4467 from edolstra/error-formatting 2021-01-25 12:50:57 +01:00
.dir-locals.el
.editorconfig
.gitignore
.version
bootstrap.sh
configure.ac Make sodium a required dependency 2021-01-06 17:56:53 +01:00
COPYING
default.nix
flake.lock Update to lowdown 0.7.9 2021-01-26 10:47:40 +01:00
flake.nix Update to lowdown 0.7.9 2021-01-26 10:47:40 +01:00
local.mk
Makefile Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
Makefile.config.in Make sodium a required dependency 2021-01-06 17:56:53 +01:00
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.