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 am using this command "curl -L https://nixos.org/nix/install | sh" to instal nix earlier it works fine but when i went to install some package nix was not there so i tried to reinstall but got the error below.
Note : I have followed the steps mentioned already but no luck.
Any help would be great!
---- oh no! --------------------------------------------------------------------
I back up shell profile/rc scripts before I add Nix to them.
I need to back up /etc/bashrc to /etc/bashrc.backup-before-nix,
but the latter already exists.
Here's how to clean up the old backup file:
Back up (copy) /etc/bashrc and /etc/bashrc.backup-before-nix
to another location, just in case.
Ensure /etc/bashrc.backup-before-nix does not have anything
Nix-related in it. If it does, something is probably quite
wrong. Please open an issue or get in touch immediately.
Once you confirm /etc/bashrc is backed up and
/etc/bashrc.backup-before-nix doesn't mention Nix, run:
mv /etc/bashrc.backup-before-nix /etc/bashrc
I am using this command "curl -L https://nixos.org/nix/install | sh" to instal nix earlier it works fine but when i went to install some package nix was not there so i tried to reinstall but got the error below.
Note : I have followed the steps mentioned already but no luck.
Any help would be great!
---- oh no! --------------------------------------------------------------------
I back up shell profile/rc scripts before I add Nix to them.
I need to back up /etc/bashrc to /etc/bashrc.backup-before-nix,
but the latter already exists.
Here's how to clean up the old backup file:
Back up (copy) /etc/bashrc and /etc/bashrc.backup-before-nix
to another location, just in case.
Ensure /etc/bashrc.backup-before-nix does not have anything
Nix-related in it. If it does, something is probably quite
wrong. Please open an issue or get in touch immediately.
Once you confirm /etc/bashrc is backed up and
/etc/bashrc.backup-before-nix doesn't mention Nix, run:
mv /etc/bashrc.backup-before-nix /etc/bashrc
We'd love to help if you need it.
You can open an issue at
https://github.com/NixOS/nix/issues/new?labels=installer&template=installer.md
Or get in touch with the community: https://nixos.org/community
aijazahmad@MacBookAir ~ %
The text was updated successfully, but these errors were encountered: