Open brandondrew opened 5 years ago
P.S. I looked through several macOS issues with related titles, but this did not appear to be like the others I saw.
It looks like you are getting the stat from /usr/bin/ and not the stat from coreutils. Can you make sure that this line is setting PATH correctly: https://github.com/NixOS/nix/blob/master/scripts/nix-profile.sh.in#L3
You should be able to run this successfully:
PATH=@coreutils@ stat --printf '%u' .
where @coreutils@ is the actual path to coreutils in nix.sh.
I think this may be obsolete.
I don't see any references to stat --printf
, NIX_USER_PROFILE_DIR
or __user_gcroots
in the Nix repo.
I marked this as stale due to inactivity. → More info
I freshly installed Nix on macOS Mojave 10.14.3 (18D42) and had the same experience in both iTerm and Terminal:
Regarding the warnings, I verified that I'm user 501:
The portions of the file with the errors are:
and
The verification that the installation failed was that I could not install anything: