Package Details: nix-multiuser 17.09-1

Git Clone URL: https://aur.archlinux.org/nix-multiuser.git (read-only)
Package Base: nix-multiuser
Description: Set up multi-user environment for the Nix package manager
Upstream URL: http://nixos.org/nix/manual/#ssec-multi-user
Licenses: MIT
Submitter: asppsa
Maintainer: asppsa
Last Packager: asppsa
Votes: 8
Popularity: 0.029799
First Submitted: 2014-10-12 13:33
Last Updated: 2017-10-16 03:51

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

k2s commented on 2016-04-08 22:22

I proposed change in nix package (https://aur.archlinux.org/packages/nix) which solves problems with wrong ~/.nix-profile symlink.

k2s commented on 2016-04-07 07:30

I confirm that deleting ~/.nix-profile and running https://gist.github.com/benley/e4a91e8425993e7d6668 will fix the problem.

Could you pls. update the /etc/profile.d/nix.sh file or add extended handling to /etc/profile.d/nix-multiuser.sh

k2s commented on 2016-04-07 07:04

#nix-env -i firefox
error: opening lock file ‘/nix/var/nix/profiles/default.lock’: Permission denied

the ~/.nix-profile is symlinked to non-existing folder /nix/var/nix/profiles/default

could it be related to https://github.com/NixOS/nix/issues/414 ?

balthek commented on 2015-09-25 17:50

Ran into a few other issues when installing a package

- in ubuntu at the end of the official install script you get asked to run . /home/ubuntu/.nix-profile/etc/profile.d/nix.sh but there is no .nix-profile/etc/ in my home directory
- might be related: installing a package doesn't add it to $PATH (I see the binary in .nix-profile/bin/hello though)
- running the binary manually errors with the same error as the install script (seen in https://github.com/NixOS/nix/issues/599)

balthek commented on 2015-09-25 17:37

It seems the script doesn't set up a channel, would it be possible to add the basic

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

added to it?