Package Details: nix 2.3.7-1

Git Clone URL: https://aur.archlinux.org/nix.git (read-only, click to copy)
Package Base: nix
Description: A purely functional package manager
Upstream URL: https://nixos.org/nix
Licenses: LGPL
Submitter: None
Maintainer: asppsa (tudor, bertptrs)
Last Packager: bertptrs
Votes: 70
Popularity: 1.40
First Submitted: 2008-04-12 18:35
Last Updated: 2020-09-08 18:56

Latest Comments

1 2 3 4 5 6 ... Next › Last »

MazeChaZer commented on 2020-09-16 08:24

I'm getting this error when compiling 2.3.7-1:

...
  GEN    scripts/nix-http-export.cgi
  GEN    scripts/nix-profile.sh
  GEN    scripts/nix-reduce-build
  LD     src/libutil/libnixutil.so
g++: error: unrecognized command-line option '-R'
make: *** [mk/lib.mk:104: src/libutil/libnixutil.so] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
error making: nix

shaugh commented on 2020-06-22 21:44

Hi all,

I no longer maintain this package or participate in the Arch Linux community.

Feel free to adopt it if you're interested.

janat08 commented on 2020-05-27 21:06

Can you bring support to aarch, in manjaro arm? Nix tries to support aarch64.

PrinceMachiavell commented on 2020-05-21 19:36

Is anyone getting this permission error? It may be an upstream bug but I haven't had to chance to test on a system that didn't already have the Nix or archlinux-nix AUR package already present.

Installing sandbox binaries from NixOS-19.09 ...
these derivations will be built:
/nix/store/jp8aq0p4r0q3cwlg2silqxsdbxq3kz49-builder.pl.drv
/nix/store/x1dn68w93w6kwjm497ga3w5sn105gdgy-arch-system-build-sandbox.drv
building '/nix/store/jp8aq0p4r0q3cwlg2silqxsdbxq3kz49-builder.pl.drv'...
while setting up the build environment: executing 
'/nix/store/ily14d68xl11cnbbkf9svwnzwsrrnzah-bash-4.4-p23/bin/bash': 
Permission denied
builder for '/nix/store/jp8aq0p4r0q3cwlg2silqxsdbxq3kz49-builder.pl.drv' failed with exit code 1
cannot build derivation '/nix/store/x1dn68w93w6kwjm497ga3w5sn105gdgy-arch-system-build-sandbox.drv': 1 dependencies couldn't be built

Setting what I believe is the correct group 'nixbld' on /nix resolved the issue.

chgrp nixbld -R /nix

quarkQuark commented on 2020-05-09 12:11

I just tried installing this today using yay. It failed with this error, after various other successful checks:

checking aws/s3/S3Client.h usability... no
checking aws/s3/S3Client.h presence... no
checking for aws/s3/S3Client.h... no
./configure: 7906: ./configure: Syntax error: "(" unexpected (expecting "fi")
==> ERROR: A failure occurred in build()
    Aborting...
Error making:nix

makefoo commented on 2020-01-28 17:37

Update: turns out base-devel is an implicit dependency for everything pkgbuild related. I keep the list as reference for everybody who tries to get a minimal setup running.

The following build dependencies are required e.g. when you install with docker minimal build:

gcc make autoconf automake patch pkgconfig

the dependency editline in aur additionally requires:

gcc autoconf automake

just for reference, makepkg runtime dependencies are:

fakeroot make gcc

dboardman3 commented on 2020-01-28 16:39

Following the instructions on the arch wiki, I still see this issue:

$ yay -S nix
$ sudo chown -R $USER. /nix/var/nix/{gcroots,profiles,db}
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable

$ nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable

$ nix-channel --update
unpacking channels...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
while setting up the build environment: executing '/usr/bin/bash': No such file or directory
builder for '/nix/store/083z09myxrv7dlj6py6x1sbdvf2b7mg2-nixpkgs-20.03pre210643.ec1c46e2e58.drv' failed with exit code 1
error: build of '/nix/store/083z09myxrv7dlj6py6x1sbdvf2b7mg2-nixpkgs-20.03pre210643.ec1c46e2e58.drv' failed
error: program '/usr/bin/nix-env' failed with exit code 100

asppsa commented on 2019-11-21 13:41

@vladan, thanks for that - I've applied that patch now.

vladan commented on 2019-11-20 09:12

This worked for me https://gist.github.com/vladan/b89012dea75d4ef2a2dbf3e19d5fadfe/revisions#diff-dfa7cdd9c34798e1af82f172b0822f08

mitsakis commented on 2019-10-21 12:12

Build fails for me. You need this patch: https://github.com/NixOS/nix/pull/3154/commits/fcf198d4e7371427648832554d3771ef6c99a55d