Package Details: nix 2.3.1-2

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 (shaugh)
Last Packager: asppsa
Votes: 66
Popularity: 0.31
First Submitted: 2008-04-12 18:35
Last Updated: 2019-11-21 13:40

Latest Comments

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

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

asppsa commented on 2019-10-15 11:26

OK, so we have upgraded to 2.3.1. I also removed the hard dependency on archlinux-nix, as I got some feedback that not everyone wants to use this, so it's now optdepends.

asppsa commented on 2019-10-07 12:41

@jsomedon, please try systemctl enable nix-daemon.socket. PS. This package is out of date, but the upgrade doesn't seem straight-forward, so if anyone has had any luck compiling 2.3, your help would be much appreciated!

jsomedon commented on 2019-10-07 07:33

I just installed and I am trying to set things up by following wiki.

I get this error:

error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': No such file or directory

upon running this command:

nix-channel --add https://nixos.org/channels/nixpkgs-unstable nix-channel --update nix-env -u

sikmir commented on 2019-05-24 10:34

I've created https://wiki.archlinux.org/index.php/Nix, let's collect there all tips and tricks how get Nix worked on Arch.

asppsa commented on 2019-05-07 14:38

Ok, so I've cleaned up my helper script and uploaded it to AUR. It's now listed as a dependency for this package and does the following:

  • handles setting up of build users (previously in the .install file)
  • downloads binaries from nixpkgs to use in the build sandbox, lists them in nix.conf
  • handles launching/enabling of nix-daemon

This should all be done automatically when this package is installed/upgraded. Hopefully this resolves all the issues people are seeing with nix-channel --update. If not, let me know.