Package Details: nix 1.11.10-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: Anton.Latukha
Last Packager: vlad
Votes: 49
Popularity: 1.345378
First Submitted: 2008-04-12 18:35
Last Updated: 2017-06-12 20:18

Latest Comments

asppsa commented on 2017-10-17 01:27

Here's a basic patch to upgrade to 1.11.15:

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

[edit1: moved to gist]
[edit2: added some sed lines which I needed to make nix-shell & friends work]

fusion809 commented on 2017-10-05 04:22

Version 1.11.15 builds fine though, so if you's want to bump it to that version your build problems should be a thing of the past.

fusion809 commented on 2017-10-05 03:42

Getting the same compilation error 'ere.

andrej84 commented on 2017-09-27 10:33

Getting these errors trying to build:

src/libmain/stack.cc: In function ‘void nix::sigsegvHandler(int, siginfo_t*, void*)’:
src/libmain/stack.cc:23:21: error: ‘ucontext’ was not declared in this scope
sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
^~~~~~~~
src/libmain/stack.cc:23:21: note: suggested alternative: ‘ucontext_t’
sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
^~~~~~~~
ucontext_t
src/libmain/stack.cc:23:31: error: expected primary-expression before ‘)’ token
sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
^
src/libmain/stack.cc:23:33: error: expected ‘)’ before ‘ctx’
sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
^~~
In file included from src/boost/format.hpp:57:0,
from src/libutil/types.hh:9,
from src/libmain/stack.cc:3:
src/boost/format/feed_args.hpp: At global scope:
src/boost/format/feed_args.hpp:40:8: warning: ‘void boost::io::detail::{anonymous}::do_pad(std::__cxx11::string&, std::streamsize, char, std::ios_base::fmtflags, bool)’ defined but not used [-Wunused-function]
void do_pad( std::string & s,
^~~~~~
cc1plus: warning: unrecognized command line option ‘-Wno-unneeded-internal-declaration’
make: *** [mk/patterns.mk:3: src/libmain/stack.o] Error 1

anks commented on 2017-09-24 18:18

Currently not building:
==> Extracting sources...
-> Extracting nix-1.11.10.tar.xz with bsdtar
==> Starting build()...
src/libmain/stack.cc: In function ‘void nix::sigsegvHandler(int, siginfo_t*, void*)’:
src/libmain/stack.cc:23:21: error: ‘ucontext’ was not declared in this scope
sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
^~~~~~~~

asgeirbj commented on 2017-09-03 20:05

I did a quick update for 1.11.14 which looks like it works https://gist.github.com/asgeir/c0e57383d56b1aa962a62831a52b5961

FlorianJacob commented on 2017-03-30 22:28

Backlinking: There's a discussion at https://github.com/NixOS/nix/issues/879#issuecomment-287660246 on how to install nix on Arch Linux / the missing steps after this package has been installed, linking https://gist.github.com/expipiplus1/e571ce88c608a1e83547c918591b149f for concrete directions on what to do.

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