Nix package manager
Stable release 1.0[1]
Platform GNU/Linux, Unix-like
License LGPL
Website Official website

Nix is a package manager for computer systems. Like RPM, apt and many other package managers, it is able to control the installation of packages, or named and versioned groups of files, such as software applications or their associated configuration data.[2] [3] [4]

Nix packages are configured using a lazy, pure-functional language especially designed for this purpose; shell scripts or any other external program (such as Make) may be used to build packages from source code. The purely functional nature of the system enables very precise dependency tracking; for example, a binary package has a dependency on the corresponding source package, on the compiler, and on other packages that the build requires. Cryptographic hashes determine the exact build and run-time dependencies of every package, and each source or binary package is represented by such a hash. As a result, binary package repositories are a transparent optimization of the basic operation of the package manager (similar to a "cache" of packages indexed by a cryptographic hash).

Dependencies are resolved by a system functionally equivalent to static linking, in that versions of software being depended on by a package are not removed until no package is dependent on them. This can lead to greater storage needs, but makes all upgrades safe (guaranteed not to break existing applications) and atomic. It also permits multiple versions of any package, including parametrized packages such as a program with and without a certain feature, to coexist with no interference.

Nix depends upon having its own directory structure for installing the packages. All packages are installed in sub-directories of the nix directory. In naming the folders, different versions of a package are identified by prepending the hash to the package name.

Nix can be used, with some caveats, as a package manager on top of an existing operating system, such as another GNU/Linux distribution. It may also be used to maintain any kind of file configurations, such as server setups, in addition to software packages in the strict sense.

NixOS [link]

NixOS[5] is an experimental GNU/Linux distribution using Nix consistently for every piece of software in the system.[6]

References [link]

  1. ^ Dolstra, Eelco (2012-05-12). "Nix 1.0 released". nix-dev. https://lists.science.uu.nl/pipermail/nix-dev/2012-May/008881.html. Retrieved 2012-05-13. 
  2. ^ Prins, P., Suresh, J. and Dolstra, E., "Nix fixes dependency hell on all Linux distributions," linux.com, December 22, 2008
  3. ^ Dolstra, E., de Jonge, M. and Visser, E. "Nix: A Safe and Policy-Free System for Software Deployment." In Damon, L. (Ed.), 18th Large Installation System Administration Conference (LISA '04), pages 79–92, Atlanta, Georgia, USA. USENIX, November 2004.
  4. ^ Dolstra, E. The Purely Functional Software Deployment Model. PhD thesis, Faculty of Science, Utrecht, The Netherlands. January 2006. ISBN 90-393-4130-3.
  5. ^ https://nixos.org/nixos
  6. ^ Dolstra, E. and Löh, A. "NixOS: A Purely Functional Linux Distribution." In ICFP 2008: 13th ACM SIGPLAN International Conference on Functional Programming, pages 367–378, Victoria, British Columbia, Canada. September 2008.

External links [link]


https://wn.com/Nix_package_manager

Podcasts:

PLAYLIST TIME:

Nexus

by: Dan Fogelberg

(Disk 1 of 2)
Across the vein of night
There cuts a path of searing light
Burning like a beacon
On the edges of our sight
At the point of total darkness
And the lights divine divide
A soul can let its shadow stretch
And land on either side --
either side.
And balanced on the precipice
The moment must reveal
Naked in the face of time
Our race within the wheel
As we hang beneath the heavens
And we hover over hell
Our hearts become the instruments
We learn to play so well.
Wealthy the spirit that knows its
own flight
Stealthy the hunter who slays
his own fright
Blessed the traveler who journeys
the length of the light.
Outside the pull of gravity
Beyond the spectral veil
Within our careful reasoning
We search to no avail
For the constant in the chaos
For the fulcrum in the void
Following a destiny
Our steps cannot avoid.
Across the vein of night
There cuts a path of searing light
Burning like a beacon
On the edges of our sight
At the point of total darkness
And the lights divine divide
A soul can let its shadow
Stretch and land on either side.
Wealthy the spirit that knows its
own flight
Stealthy the hunter who slays
his own fright
Blessed the traveler who journeys
the length of the light.
In a spiral never-ending
Are we drawn towards the source
Spinning at the mercy of an
unrelenting force
So we stare into the emptiness
and fall beneath the weight
Circling the Nexus in a
fevered dance with fate --
Wealthy the spirit that knows its
own flight
Stealthy the hunter who slays
his own fright
Blessed the traveler who journeys




×