Nix package manager is a cross-platform package management system . Unlike traditional package managers, the Nix package manager uses a functional implementation model in which software is installed in directories created through cryptographic hashes . Dependencies on each software are included in each hash, solving the problem of Dependency hell [2] . This new approach to package management promises to create more reliable and portable packages [3] [4] .
| Nix package manager | |
|---|---|
| Type of | Package manager |
| Written on | C ++ |
| Hardware platform | Linux , Unix-like OS |
| Latest version | 2.0 [1] ( February 23, 2018 ) |
| License | LGPL |
| Site | nixos.org/nix |
The packages installed by Nix are defined using functional programming , which includes “ lazy computing, ” specifically designed for package management. Dependencies are tracked directly with this programming using special values called “derivations”. Nix automatically monitors these points, so installed packages can be cleaned and removed by garbage collection when no other package depends on them. Due to the large storage requirements, all updates on Nix are guaranteed to be both atomic and efficient. It also allows multiple users to safely install software on the same system without administrator privileges.
Nix package manager has full Linux support, and can be installed safely with an existing package manager. macOS is also officially supported.
Content
NixOS
NixOS [5] is a Linux distribution that uses the Nix package manager for every piece of software on the system, including the Linux kernel [6] .
See also
- GNU Guix
Notes
- ↑ Release 2.0NixOS / nixGitHub
- ↑ Nix fixes dependency hell on all Linux distributions | Linux.com | The source of Linux information
- ↑ https://nixos.org/~eelco/pubs/nspfssd-lisa2004-final.pdf
- ↑ https://nixos.org/~eelco/pubs/phd-thesis.pdf
- ↑ NixOS Linux
- ↑ https://nixos.org/~eelco/pubs/nixos-icfp2008-final.pdf
Links
- nixos.org/nix - official Nix package manager website
- Comparison of Zero Install and Nix systems .
- Criticism of the Debian Developer (2008).
- Introduction: Purely Functional Configuration Management with Nix and NixOS .