Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - nix

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: nix 1.11.6-1

Git Clone URL: https://aur-dev.archlinux.org/nix.git (read-only)
Package Base: nix
Description: A purely functional package manager
Upstream URL: https://nixos.org/nix
Licenses: LGPL
Submitter: None
Maintainer: vlad
Last Packager: vlad
Votes: 41
Popularity: 0.781325
First Submitted: 2008-04-12 18:35
Last Updated: 2017-01-22 23:45

Latest Comments

1 2 3 Next › Last »

k2s commented on 2016-04-08 22:20

/etc/profile.d/nix.sh in upstream doesn't play nice with multiuser setup (https://aur.archlinux.org/packages/nix-multiuser/).

NixOS uses different file to make that kind of setup work.

Some information sources:
* https://github.com/NixOS/nix/issues/414
* https://gist.github.com/benley/e4a91e8425993e7d6668
* https://github.com/NixOS/nix/pull/452/

I changed PKGBUILD which patches upstream source code with the currently not merged https://gist.github.com/k2s/de3649c2e04f7423c3a4e8793af46c6b.

vlad commented on 2015-09-06 16:56

Updated, thanks.

oozyslug commented on 2015-09-06 11:39

hi marsam, I am no longer using nix package manager, so i will be disowning the package. You could adopt it if you are interested. Thank you for the heads up.

marsam commented on 2015-09-05 17:57

Hi, I've updated the pkgbuild for nix 1.10 https://gist.github.com/e8fcd85baa62fca8844c thanks in advance.

vimes656 commented on 2015-04-12 08:55

For example, I'd like to use the system binary for `ghc` (currently version 7.10.1) but I also would like to use other versions of `ghc` installed with nix. If the nix path takes preference the name `ghc` is bound to any `ghc` installed with nix, regardless of its version. OTOH, if the system path takes preference, if I want to use the version from nix I just have to append the version, i.e. `ghc-7.6.3` (from nix) vs `ghc` (7.10.1 from arch).

I ended up using `systemd-nspawn` containers for this concrete case, so now I don't mind nix path taking preference that much.

(sorry for my late reply, I forgot to tick "watch notifications")

koral commented on 2015-03-30 17:12

I don't have any strong opinion on what makes more sense, but so far I've had no issue with the updated $PATH that gives preference to nix binaries. Do you have a case in point where this behavior hurts ?

vimes656 commented on 2015-03-30 16:02

The Nix `/bin/` and `/sbin` get prepended to the global $PATH, giving preference to the Nix binaries instead of Arch ones. Wouldn't it make more sense, specially since this is an Arch specific package, to give preference to the system binaries?

I could submit a patch with some sed magic if you agree.

koral commented on 2015-01-02 00:16

Adopted, and updated to 1.8

asppsa commented on 2014-10-10 07:21

I'm trying to set up the multiuser environment and am find that the nix-daemon.service file does not have an [Install] section, so it cannot be added using "systemctl enable ...". Could we patch this perhaps? I think the following is all that is needed:


Anntoin commented on 2014-04-16 10:56

Updated to 1.7
See: http://releases.nixos.org/nix/nix-1.7/manual/#ssec-relnotes-1.7