You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that npm installs in its own directory. This is the default way in nix and it is well known, that this breaks all symlinks. The solution is considered to "defeat the sense of nix" and will accordingly to people in your irc channel, not be part of the npm build script. This means, every single new developer, who tries nix as package manager on his distribution, will experience that all breaks, once npm installs a package.
This seems to be entirely an issue for Nixpkgs. While this may be difficult to fix (and perhaps unlikely to be fixed as a result) the right thing is to report it over there so at least it can be tracked/discussed.
If you think this is indeed a problem with nix itself, please clarify or open a new issue :).
Hi there :)
I use kaosx.us as my distribution and installed nix via your shell script.
It seems like the symlinks to the actual binaries get randomly eaten:
elchemy compile zsh: command not found: elchemy
npm install -g elchemy zsh: command not found: npm
nix-env -iA nixpkgs.nodejs zsh: command not found: nix-env
find /nix/store -name 'nix-env' -type f /nix/store/6p2gambjac7xdkd2a7w1dsxdk1q5cq4d-nix-2.0/bin/nix-env
The text was updated successfully, but these errors were encountered: