We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
whoami
id -u -n
1 parent 31b5d9f commit f2df458Copy full SHA for f2df458
scripts/install-nix-from-closure.sh
@@ -208,7 +208,7 @@ checkingRequirements() { # This function must have checks only. Without makin
208
Environment variable USER is not set.
209
Maybe running inside container.
210
"
211
- USER="$(whoami)" # Taking username from UID
+ USER="$(id -u -n)" # id is POSIX
212
print "Detected username: $USER"
213
fi
214
0 commit comments