Package Details: nix 1.11.2-1

Git Clone URL: https://aur.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: 40
Popularity: 0.258347
First Submitted: 2008-04-12 18:35
Last Updated: 2016-02-14 17:16

Latest Comments

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:

https://gist.github.com/asppsa/d2732fd21431488352e5

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

Anntoin commented on 2013-10-22 05:01

Updated to 1.6
Some new features in this release see: http://nixos.org/releases/nix/nix-1.6/manual/NEWS.html

Anntoin commented on 2013-07-21 22:17

Updated to 1.5.3
Bug fix release: http://hydra.nixos.org/build/5350096/download/3/release-notes/

Anntoin commented on 2013-05-24 18:51

Updated to 1.5.2
Bug fix release: http://hydra.nixos.org/build/4954085/download/3/release-notes/

Anntoin commented on 2013-03-05 23:35

Updated to 1.5.1
Bug fixing the bug fix: http://hydra.nixos.org/build/4253990/download/3/release-notes/

Anntoin commented on 2013-02-28 14:37

Updated to 1.5
Fixes Regression in previous release, see:http://hydra.nixos.org/build/4230842/download/3/release-notes/

Anntoin commented on 2013-02-27 14:41

Updated to 1.4
This release fixes a security issue relating to hard links: http://hydra.nixos.org/build/4228031/download/3/release-notes/

Anntoin commented on 2013-01-07 23:13

Updated to 1.3
This is a bug-fix release, see the release notes here: http://hydra.nixos.org/build/3668901/download/3/release-notes/

Anntoin commented on 2012-12-14 11:39

Adopted and updated to 1.2
Any issues/suggestions let me know.

Anonymous comment on 2012-08-16 16:39

Version 1.1 compiled with http://codepad.org/gfADouPi for me.

jumpcannon commented on 2012-08-02 17:11

Upstream is on version 1.1 now.

Synthead commented on 2010-09-02 20:46

Lots of problems in the PKGBUILD, this should work instead: http://codepad.org/fYm0iCpb

Anonymous comment on 2010-04-02 13:16

# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Maintainer: Rudolf Olah <omouse@orch.org>
pkgname=nix
pkgver=0.12
pkgrel=1
pkgdesc="Nix is a purely functional package manager."
url="http://nixos.org/"
arch=('i686')
license=('LGPL')
depends=(db4.5)
makedepends=('gcc>=2.95')
conflicts=()
replaces=()
backup=()
install=
source=(http://nixos.org/releases/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2)
md5sums=(435ed265d9fa1eb03604e7f11b852aef)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install