Red Hat Bugzilla – Bug 827289
Review Request: nix - A purely functional package manager
Last modified: 2016-02-14 08:00:13 EST
Spec URL: http://salimma.fedorapeople.org/specs/devtools/nix.spec
SRPM URL: http://salimma.fedorapeople.org/specs/devtools/nix-1.0-1.fc17.src.rpm
Nix is a purely functional package manager. It allows multiple
versions of a package to be installed side-by-side, ensures that
dependency specifications are complete, supports atomic upgrades and
rollbacks, allows non-root users to install software, and has many
other features. It is the basis of the NixOS Linux distribution, but
it can be used equally well under other Unix systems.
Fedora Account System Username: salimma
- the Emacs-related patch has not been submitted upstream (unlike the other, Fedora-related commits in patch0) - will ask upstream to pull them after the review process is OKed, as Fedora reviewers are likely more familiar with our Emacs packaging guidelines
- This uses a top-level directory (/nix). It's not strictly speaking necessary, but without that one can not use any pre-built Nix binary packages, which all install to /nix/store -- and thus severely reduce the usefulness of nix (think of macports and fink and the dearth of binary packages there)
- to try using this, after installation try doing the following:
$ nix-channel --add http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/
# nix-channel --update
(as any user. might need to start a new login shell first, or source
$ nix-env -iA nixpkgs.bsdgames
or the smallest possible package:
$ nix-env -iA nixpkgs.hello
@Kushal - please hold the review until the Packaging Committee vote this Wednesday; the /nix directory use is likely a problem:
Might have to get the package into RPM Fusion instead (are you a contributor there?)
codeblock has a copr repo now:
(In reply to Jens Petersen from comment #3)
> Any news?
NM - I see FPC rejected /nix.
Perhaps it would be better to close this?
(Latest upstream is now 1.7.)
This is Fedora, not NixOS... Of course I think FESCo can't agree with this.
Any other solutions?
Would it not be possible to use some other dir?
Anyway I just made today: