Total newb here. I have this duplicate search results “issue”. I see results from both nixos
and nixpkgs
, like in the OP.
I followed the steps in 2.5.4. Installing from another Linux distribution.
I’m curious how to fix it, and also why it happened so I can learn.
I extracted the relevant commands that I ran, out of my .bash_history
. I ran these before finally running the install step:
nix-channel --add https://nixos.org/channels/nixos-19.09 nixos19
nix-channel --update
nix-channel --remove nixpkgs
nix-channel --remove nixos19
nix-channel --add https://nixos.org/channels/nixos-19.09 nixpkgs
nix-channel --remove nixpkgs
nix-channel --add https://nixos.org/channels/nixos-19.09 nixos
nix-channel --remove nixos
nix-channel --add https://nixos.org/channels/nixos-19.09 nixpkgs
nix-channel --update
sudo PATH="$PATH" NIX_PATH="$NIX_PATH" `which nixos-install` --root /mnt
I was toying around to learn what it does. I omitted nix-channel --list
and nix-channel --help
and other commands from above.
Any idea why the duplicate search results?