Bug 6557

Summary: Nix package manager (instead of urpmi?)
Product: Mageia Reporter: Otto Sá <ottosa>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Normal CC: cillian.deroiste, padula1000
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://nixos.org/
Whiteboard:
Source RPM: CVE:
Status comment:

Description Otto Sá 2012-06-24 17:34:00 CEST
The Project Nix 
"Nix is a purely functional package manager. This means that it can ensure that an upgrade to a package can not break other than that you can always revert to the previous version, that multiple versions of a package can coexist in the same system, and much more. "
Nix Project at  http://nixos.org/O "


That would be fantastic, Mageia with a package manager so advanced. And the stable version 1.0 and warm from the oven now just came out: 5/11/2012!!!
For now, I think that only the package system uses NixOS Nix. What about shake the idea in Forum International to see the reaction Mageia staff?
The biggest problem of mixing packages and versions is breaking the distro and a manager that does not leave the system break down by more than make mixture of versions in parallel, unable to safely downgrade or even test other packages is almost a utopian dream ...
I was reading the site and found the link with packages for Debian, Ubuntu and Fedora. Yes, it has also RPM packages
You can view that at
http://hydra.nixos.org/view/nix/trunk/2644870

So surely the Mageia can have the package manager Nix.
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.

Source at http://en.wikipedia.org/wiki/Nix_package_manager
Comment 1 Otto Sá 2012-06-24 17:40:50 CEST
That would be fantastic, Mageia 2 and the next Mageia 3 with a new package manager so advanced. And the stable version 1.0 and "warm from the oven" now just came out and It was released on 5/11/2012!!!

URL: (none) => http://nixos.org/

Manuel Hiebel 2012-06-25 03:05:00 CEST

Version: 2 => Cauldron
Summary: Nix package manager to be included to Mageia => Nix package manager (instead of urpmi?)
Severity: normal => enhancement

Comment 2 padula 2012-06-25 04:25:31 CEST
NixOS is an experimental GNU/Linux distribution that aims to improve the state of the art in system configuration management. In existing distributions, actions such as upgrades are dangerous: upgrading a package can cause other packages to break, upgrading an entire system is much less reliable than reinstalling from scratch, you canât safely test what the results of a configuration change will be, you cannot easily undo changes to the system, and so on. NixOS has many innovative features.
http://nixos.org/nixos/screenshots.html

CC: (none) => padula10

Comment 3 padula 2012-06-25 04:27:52 CEST
(In reply to comment #2)
> NixOS is an experimental GNU/Linux distribution that aims to improve the state
> of the art in system configuration management. In existing distributions,
> actions such as upgrades are dangerous: upgrading a package can cause other
> packages to break, upgrading an entire system is much less reliable than
> reinstalling from scratch, you canât safely test what the results of a
> configuration change will be, you cannot easily undo changes to the system, and
> so on. NixOS has many innovative features.
> http://nixos.org/nixos/screenshots.html

would like to see in version nixos cauldron.
Comment 4 Otto Sá 2012-06-25 05:58:05 CEST
The Nix Project is at http://nixos.org/ This package manager will  improve the stateof the art in system configuration management. In existing distributions,
actions such as upgrades are dangerous: upgrading a package can cause other
packages to break, upgrading an entire system is much less reliable than
reinstalling from scratch, you canât safely test what the results of a
configuration change will be, you cannot easily undo changes to the system, and
so on. NixOS has many innovative features.This will be a plus for the Mageia.
Comment 5 Manuel Hiebel 2012-06-25 06:00:28 CEST
you don't need to post three time the same things...
Comment 6 Cillian de Roiste 2013-01-29 16:45:58 CET
Hi, my first distro was Mandrake 7, and now I use NixOS. I just stumbled across this ticket and thought you might be interested in a nice RPM which someone submitted to Fedora a while back:

https://bugzilla.redhat.com/show_bug.cgi?id=827289

There are also more recent RPMs and binaries available from:

https://nixos.org/nix/download.html

CC: (none) => cillian.deroiste

Comment 7 Samuel Verschelde 2016-10-11 20:55:07 CEST
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might want to integrate it to the distribution and maintain it for bug and security fixes.

You might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Assignee: bugsquad => pkg-bugs

Comment 8 sturmvogel 2022-04-02 15:41:07 CEST
Not a single distribution out in the wild is using Nix (except NixOS). As Mageia has already URPMI and DNF, there is no need (and no ressources) to add an additional package manager.

Closing as WONTFIX.

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED