Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS 10.15.7 error: the build users group 'nixbld' has no members #4716

Open
cookingsomefriedrice opened this issue Apr 16, 2021 · 8 comments
Labels

Comments

@cookingsomefriedrice
Copy link

I'm attempting to install Nix yet I get the following error:
error: the build users group 'nixbld' has no members

Steps To Reproduce

  1. Execute: sh <(curl -L https://nixos.org/nix/install) --daemon --darwin-use-unencrypted-nix-store-volume

Output:

rob@rob ~ % sh <(curl -L https://nixos.org/nix/install) --daemon --darwin-use-unencrypted-nix-store-volume
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2699  100  2699    0     0   8678      0 --:--:-- --:--:-- --:--:--  8678
downloading Nix 2.3.10 binary tarball for x86_64-darwin from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-darwin.tar.xz' to '/var/folders/bs/6j_1bx015gv2zfyd_8kq9lnh0000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.YNsJCNJ2'...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 26.6M  100 26.6M    0     0  22.4M      0  0:00:01  0:00:01 --:--:-- 22.4M
Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation
Creating volume and mountpoint /nix.

     ------------------------------------------------------------------
    | This installer will create a volume for the nix store and        |
    | configure it to mount at /nix.  Follow these steps to uninstall. |
     ------------------------------------------------------------------

  1. Remove the entry from fstab using 'sudo vifs'
  2. Destroy the data volume using 'diskutil apfs deleteVolume'
  3. Remove the 'nix' line from /etc/synthetic.conf or the file

Using existing 'Nix Store' volume
Switching to the Daemon-based Installer
Welcome to the Multi-User Nix Installation

This installation tool will set up your computer with the Nix package
manager. This will happen in a few stages:

1. Make sure your computer doesn't already have Nix. If it does, I
   will show you instructions on how to clean up your old one.

2. Show you what we are going to install and where. Then we will ask
   if you are ready to continue.

3. Create the system users and groups that the Nix daemon uses to run
   builds.

4. Perform the basic installation of the Nix files daemon.

5. Configure your shell to import special Nix Profile files, so you
   can use Nix.

6. Start the Nix daemon.

Would you like to see a more detailed list of what we will do?
[y/n] n


---- let's talk about sudo -----------------------------------------------------
This script is going to call sudo a lot. Every time we do, it'll
output exactly what it'll do, and why.

Just like this:

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo echo

to demonstrate how our sudo prompts look


This might look scary, but everything can be undone by running just a
few commands. We used to ask you to confirm each time sudo ran, but it
was too many times. Instead, I'll just ask you this one time:

Can we use sudo?
[y/n] y

Yay! Thanks! Let's get going!

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo test -e /var/root/.nix-defexpr

making sure that /var/root/.nix-defexpr doesn't exist


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo test -e /var/root/.nix-channels

making sure that /var/root/.nix-channels doesn't exist


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo test -e /var/root/.nix-profile

making sure that /var/root/.nix-profile doesn't exist


---- Nix config report ---------------------------------------------------------
        Temp Dir:	/var/folders/bs/6j_1bx015gv2zfyd_8kq9lnh0000gn/T/tmp.XXXXXXXXXX.sP2CkVrJ
        Nix Root:	/nix
     Build Users:	32
  Build Group ID:	30000
Build Group Name:	nixbld

build users:
    Username:	UID
     nixbld1:	30001
     nixbld2:	30002
     nixbld3:	30003
     nixbld4:	30004
     nixbld5:	30005
     nixbld6:	30006
     nixbld7:	30007
     nixbld8:	30008
     nixbld9:	30009
     nixbld10:	30010
     nixbld11:	30011
     nixbld12:	30012
     nixbld13:	30013
     nixbld14:	30014
     nixbld15:	30015
     nixbld16:	30016
     nixbld17:	30017
     nixbld18:	30018
     nixbld19:	30019
     nixbld20:	30020
     nixbld21:	30021
     nixbld22:	30022
     nixbld23:	30023
     nixbld24:	30024
     nixbld25:	30025
     nixbld26:	30026
     nixbld27:	30027
     nixbld28:	30028
     nixbld29:	30029
     nixbld30:	30030
     nixbld31:	30031
     nixbld32:	30032

Ready to continue?
[y/n]
Sorry, I didn't understand. I can only understand answers of y or n
[y/n] y


~~> Setting up the build group nixbld
            Exists:	Yes

~~> Setting up the build user nixbld1
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 1
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld2
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 2
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld3
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 3
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld4
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 4
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld5
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 5
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld6
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 6
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld7
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 7
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld8
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 8
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld9
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 9
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld10
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 10
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld11
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 11
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld12
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 12
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld13
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 13
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld14
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 14
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld15
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 15
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld16
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 16
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld17
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 17
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld18
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 18
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld19
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 19
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld20
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 20
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld21
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 21
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld22
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 22
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld23
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 23
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld24
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 24
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld25
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 25
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld26
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 26
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld27
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 27
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld28
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 28
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld29
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 29
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld30
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 30
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld31
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 31
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user nixbld32
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 32
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo mkdir -pv -m 0755 /nix /nix/var /nix/var/log /nix/var/log/nix /nix/var/log/nix/drvs /nix/var/nix /nix/var/nix/db /nix/var/nix/gcroots /nix/var/nix/profiles /nix/var/nix/temproots /nix/var/nix/userpool /nix/var/nix/gcroots/per-user /nix/var/nix/profiles/per-user

to make the basic directory structure of Nix (part 1)


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo mkdir -pv -m 1775 /nix/store

to make the basic directory structure of Nix (part 2)


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo chgrp nixbld /nix/store

to make the basic directory structure of Nix (part 3)


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo mkdir -pv -m 0555 /etc/nix

to place the default nix daemon configuration (part 1)


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo install -m 0664 /var/folders/bs/6j_1bx015gv2zfyd_8kq9lnh0000gn/T/tmp.XXXXXXXXXX.sP2CkVrJ/.nix-channels /var/root/.nix-channels

to set up the default system channel (part 1)


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo rsync -rlpt --chmod=-w ./store/0572my2j1qa5xbx111vryhlch2wx37m2-libc++abi-7.1.0 ./store/05bqqkxmhnrza8hy3s6d3460cfkl6gnm-swift-corefoundation ./store/069nk4lbs1pywj69k9bs8bbxvywb9ysz-gettext-0.20.1 ./store/077d573n9s8i98gq6cwl5vx08wkq41vy-aws-checksums-0.1.5 ./store/1ld4c4ppnhjb0rfhqxz4rzy9hc8ws867-Libsystem-osx-10.12.6 ./store/2as4dq2l8dknv4kwd1gbf0bfyhs828dh-boehm-gc-8.0.4-dev ./store/2px8fis7yjly270afpb1svf4ad2h3i71-xz-5.2.4-bin ./store/4mnfw6l8gj6n3xj905agrpf8mv7lra9p-zlib-1.2.11 ./store/4sc9wk3a8rnxb9828ia7pyhvp8v22g9a-libkrb5-1.17 ./store/55vwqsmz2xkm4w25pv3xpp0zk1xkg03r-gzip-1.10 ./store/667p155sxcmsmagv980a99hmrl883a9z-editline-1.17.0 ./store/7i2wzfpncwqj5nzja8psr3jc7i4d6fyr-curl-7.70.0 ./store/7r1wkdq2b30qh6bdgm3ngs8kz9xmjk7p-brotli-1.0.7-lib ./store/823brfxz7w8dk67akyx7qdpv801a32h4-curl-7.70.0 ./store/8c98r6zlwn2d40qm7jnnrr2rdlqviszr-nix-2.3.10 ./store/9z6xzfncrmlazlzphdc0war2nsgg00m3-libkrb5-1.17 ./store/cj82jh3hivkja6m8k2srfx91nhvfzcf0-bzip2-1.0.6.0.1-bin ./store/dwdr1g0q08jni0qjr8jb8ql8cg94pfn6-xz-5.2.4 ./store/dwf8bhl5j7plrkmwzj69pzkbrgsghl1s-openssl-1.1.1g ./store/dxpsdv5jqkvzf95s2djihjrzgrqhwp6b-nss-cacert-3.49.2 ./store/fd9mcl9425p8gkdxvs577kkdrn4wm21i-libc++-7.1.0 ./store/fwh88624mr9sa9spq5d4s6h1hcx2h4s5-nghttp2-1.40.0-lib ./store/g03y19603xcnjy3ivyg542ak4zspx4ns-bash-4.4-p23 ./store/gvi6v3km5w3gsn66fg21w7d276l47zcy-openssl-1.1.1g ./store/h6i2vkdi4hqv2p8gpavvvc4zp56xsgv1-libiconv-osx-10.12.6 ./store/h85jxmx2p3982g8b5wlgm6pl40fdpj6s-bzip2-1.0.6.0.1 ./store/hg222lrawfg79yqplqypsfawnywsxhpr-ICU-osx-10.10.5 ./store/i1cg0wfns9j4lmfzvx5dz6rc436vs6ms-libsodium-1.0.18 ./store/ixkqglgqmjzdar960z9y3nfwgv5dd7db-boost-1.69.0 ./store/lkfjy9vk3css0k0lf9xd54mv15i1qq6x-coreutils-8.31 ./store/lzfb5qx283r1vczknhrxm9ayz5mknsxq-gnutar-1.32 ./store/rs7kp0cxd7rqzszf562gql9ggmp7d5q5-aws-sdk-cpp-1.7.90 ./store/spkrx68m827qnrfz3p0nkpmbnx5m86x1-aws-c-event-stream-0.1.1 ./store/w9ab2sx8cpaiygrdrn9nv66zhqwwrscc-libssh2-1.9.0 ./store/wwmaaf2nk5sm2rq4pmmrazqzak80k13c-gmp-6.2.0 ./store/x51xhnd54ylrv4mqlyp0ry4gwzgx3dbm-libssh2-1.9.0 ./store/xgi2mkgz348fim0mzqbrlzgws7j0ln63-icu4c-64.2 ./store/y8cm9fyip37p95gq7h8047s2d92z1b9c-libxml2-2.9.10 ./store/z3hz1g9qx93cgfw1jq7yx82zx7y7sbzl-nghttp2-1.40.0-lib ./store/z4knmipj0v5mv6i4rqda5z6xnmig8nna-boehm-gc-8.0.4 ./store/z7ps1993hpffy5kkn5qm62h93vw1r02z-aws-c-common-0.3.11 ./store/zr7m1ijmmpfdsclf7970sdzp24qf85fv-sqlite-3.32.3 /nix/store/

to copy the basic Nix files to the new store at /nix/store

      Alright! We have our first nix at /nix/store/8c98r6zlwn2d40qm7jnnrr2rdlqviszr-nix-2.3.10

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo /nix/store/8c98r6zlwn2d40qm7jnnrr2rdlqviszr-nix-2.3.10/bin/nix-store --load-db

to load data for the first time in to the Nix Database

      Just finished getting the nix database ready.

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo cp /etc/bashrc /etc/bashrc.backup-before-nix

to back up your current /etc/bashrc to /etc/bashrc.backup-before-nix


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo tee -a /etc/bashrc

extend your /etc/bashrc with nix-daemon settings


# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo cp /etc/zshrc /etc/zshrc.backup-before-nix

to back up your current /etc/zshrc to /etc/zshrc.backup-before-nix


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo tee -a /etc/zshrc

extend your /etc/zshrc with nix-daemon settings


# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo HOME=/var/root /nix/store/8c98r6zlwn2d40qm7jnnrr2rdlqviszr-nix-2.3.10/bin/nix-env -i /nix/store/8c98r6zlwn2d40qm7jnnrr2rdlqviszr-nix-2.3.10

to installing a bootstrapping Nix in to the default Profile

installing 'nix-2.3.10'
error: the build users group 'nixbld' has no members

---- oh no! --------------------------------------------------------------------
Jeeze, something went wrong. If you can take all the output and open
an issue, we'd love to fix the problem so nobody else has this issue.

:(

We'd love to help if you need it.

If you can, open an issue at https://github.com/nixos/nix/issues

Or feel free to contact the team,
 - on IRC #nixos on irc.freenode.net
 - on twitter @nixos_org

Any help would be appreciated!

@abathur
Copy link
Member

abathur commented Apr 17, 2021

It looks like you have at least some artifacts of a previous or active Nix install? The installer isn't currently very good at handling lingering artifacts of previous installs, so that might be what's going on here.

I don't recall seeing/hearing about a case like this and a quick skim of that part of the installer didn't give me any good guesses at how your system could end up in this state unless there are some other unknown factors at play here (the installer is normally able to cope with the nixbld users/group existing).

I'll give advice under the assumption that this is just an incompletely-removed previous install (I imagine everything except the users/groups needed to be removed to get to the point where it failed). It may not be sound advice if that isn't true, in which case the condition of the install and how it got this way might have some bearing on how to get you back on the road.

If you don't have a sense of what might've happened to the install, the output of these commands may make it clearer what's going on with the build users/group and whether there's a bug to address:

dseditgroup -o checkmember -m "nixbld1" "nixbld"
dscl . read /Groups/nixbld
dscl . read /Users/nixbld1

If this is an incomplete removal, I think it's best to try for a complete removal and reinstall, rather than try to fix up the existing users/group. If the users/group were the only holdovers, you should be able to repeat your previous removal steps, plus removing the users/group. I think you can remove the group with sudo dscl . delete /Groups/nixbld and a user with sudo dscl . delete /Users/nixbld1 (repeat for users 1-32).

@jam-awake
Copy link

I just encountered this same problem. The fix that worked for me was to delete the users and group as @abathur described. However, the commands he listed didn't work for me because my users were named _nixbld1 rather than nixbld1. Running the below script and then reinstalling things worked for me. This script is taken from Step 6 from the 'Nix on macOS Catalina' gist:

echo "removing daemon created users and groups"
USERS=$(sudo dscl . list /Users | grep nixbld)

for USER in $USERS; do
    sudo /usr/bin/dscl . -delete "/Users/$USER"
    sudo /usr/bin/dscl . -delete /Groups/staff GroupMembership $USER;
done

sudo /usr/bin/dscl . -delete "/Groups/nixbld"

@stale
Copy link

stale bot commented Apr 16, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Apr 16, 2022
@DillonB07
Copy link

I have this issue as well. None of the other solutions above or in the docs helped. Not sure what to do. I tried to completely uninstall after following the uninstallation guide for macOS and re-installed with the same error. I am on macOS Monterey 12.6.5 though.

@stale stale bot removed the stale label Apr 13, 2023
@abathur
Copy link
Member

abathur commented Apr 13, 2023

Which uninstallation procedure are you following?

@DillonB07
Copy link

I'm using the macOS uninstallation procedure here: https://nixos.org/manual/nix/stable/installation/installing-binary.html#macos

@abathur
Copy link
Member

abathur commented Apr 13, 2023

How old is the system? How long ago would you guess you first installed Nix on it?

@abathur
Copy link
Member

abathur commented Apr 13, 2023

The instructions haven been pretty reliable for people AFAIK, but if it's been ~years, it's possible that you have an install predating the trouble documented in:

Try running dscl . list /Users UniqueID | grep nixbld | sort -n -k2 to see if it reports any nixbld users and whether the usernames start with an underscore or not.

If you have users that don't have the underscore, you might just need to adapt that step of the uninstall instructions (i.e., remove the underscore in the grep command within step 3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants