Y
Hacker News
new
|
ask
|
show
|
jobs
by
taktoa
1849 days ago
The reason that there's no race condition is that you're not "repointing ~/.nix-profile/bin/npm", instead, .nix-profile itself is a symlink, so the entire PATH is changed atomically.