{"action":"opened","issue":{"url":"https://api.github.com/repos/NixOS/nix/issues/692","labels_url":"https://api.github.com/repos/NixOS/nix/issues/692/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nix/issues/692/comments","events_url":"https://api.github.com/repos/NixOS/nix/issues/692/events","html_url":"https://github.com/NixOS/nix/issues/692","id":116194734,"number":692,"title":"Installation in alternate directory fails","user":{"login":"mateidavid","id":1039002,"avatar_url":"https://avatars.githubusercontent.com/u/1039002?v=3","gravatar_id":"","url":"https://api.github.com/users/mateidavid","html_url":"https://github.com/mateidavid","followers_url":"https://api.github.com/users/mateidavid/followers","following_url":"https://api.github.com/users/mateidavid/following{/other_user}","gists_url":"https://api.github.com/users/mateidavid/gists{/gist_id}","starred_url":"https://api.github.com/users/mateidavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateidavid/subscriptions","organizations_url":"https://api.github.com/users/mateidavid/orgs","repos_url":"https://api.github.com/users/mateidavid/repos","events_url":"https://api.github.com/users/mateidavid/events{/privacy}","received_events_url":"https://api.github.com/users/mateidavid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-10T20:28:22Z","updated_at":"2015-11-10T20:28:22Z","closed_at":null,"body":"I'm following the wiki instructions to install nix in a folder other than `/nix`: https://nixos.org/wiki/How_to_install_nix_in_home_(on_another_distribution)\r\n\r\nHere is a Dockerfile demonstrating the error:\r\n```\r\nFROM ubuntu:15.04\r\n\r\nRUN apt-get update && apt-get install -y build-essential pkg-config curl libbz2-dev libsqlite3-dev libdbi-perl libdbd-sqlite3-perl libwww-curl-perl\r\n\r\nENV HOME /root\r\nENV PATH $HOME/nix-boot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\r\nENV PKG_CONFIG_PATH $HOME/nix-boot/lib/pkgconfig\r\nENV LDFLAGS \"-L$HOME/nix-boot/lib\"\r\nENV CPPFLAGS \"-I$HOME/nix-boot/include\"\r\nENV PERL5OPT \"-I$HOME/nix-boot/lib/perl\"\r\n\r\nRUN mkdir $HOME/nix-boot\r\nWORKDIR $HOME/nix-boot\r\n\r\nRUN curl -L https://nixos.org/releases/nix/nix-1.8/nix-1.8.tar.xz >nix-1.8.tar.xz && tar xf nix-1.8.tar.xz\r\n\r\nRUN cd nix-1.8 && ./configure --prefix=$HOME/nix-boot --with-store-dir=$HOME/nix/store --localstatedir=$HOME/nix/var && make && make install\r\n\r\nRUN nix-channel --add http://nixos.org/channels/nixpkgs-unstable && nix-channel --update\r\n```\r\n\r\nThe last command fails with:\r\n```\r\nunpacking channels...\r\nerror: the group ‘nixbld’ specified in ‘build-users-group’ does not exist\r\ncannot unpack the channels at /root/nix-boot/bin/nix-channel line 150.\r\n```"}}