-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Describe the bug
Currently, install-multi-user.sh asks the user to "edit this script" when it's invoked by the curl | sh script, which can be confusing.
Steps To Reproduce
Was helping a friend resolve some Nix issue on Arch Linux. He had a previous multi-user Nix installation with archlinux-nix and wanted to reinstall with the official script. The script outputs the following:
---- oh no! --------------------------------------------------------------------
It seems the build group nixbld already exists, but
with the UID 967. This script can't really handle
that right now, so I'm going to give up.
You can fix this by editing this script and changing the
NIX_BUILD_GROUP_ID variable near the top to from 30000
to 967 and re-run.
We'd love to help if you need it.If you can, open an issue at https://github.com/nixos/nix/issuesOr feel free to contact the team,
- on IRC #nixos on irc.freenode.net
- on twitter @nixos_org
Expected behavior
The script should not ask the user to edit it when it's invoked by install-nix-from-closure.sh or through the the curl | sh command (manual). The user is unlikely to find the correct file to edit.
Reactions are currently unavailable