1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

nix-profile.sh: Don't create .nix-channels

This is already done by the installer, so no need to do it again.
This commit is contained in:
Eelco Dolstra 2019-10-09 18:30:31 +02:00
parent c43d9f6131
commit 26762ceb86
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 0 additions and 11 deletions

View file

@ -15,11 +15,6 @@ if test -w $HOME; then
fi
fi
# Subscribe the root user to the NixOS channel by default.
if [ "$USER" = root -a ! -e $HOME/.nix-channels ]; then
echo "https://nixos.org/channels/nixpkgs-unstable nixpkgs" > $HOME/.nix-channels
fi
# Set up a default Nix expression from which to install stuff.
if [ ! -e $HOME/.nix-defexpr -o -L $HOME/.nix-defexpr ]; then
rm -f $HOME/.nix-defexpr