[Nix-dev] Question about unstable channel

Amy de Buitléir amy at nualeargais.ie
Fri Jun 5 20:55:56 CEST 2015


I need to use some newer versions of Haskell packages, so I need to install
the unstable channel. So I did this:

$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable
$ nix-channel --update
$ nix-env -u

Of course, now when I do a query like this, I get two results:

$ nix-env -qaP xvidcap
nixos.pkgs.xvidcap  xvidcap-1.1.7
nixpkgs.xvidcap     xvidcap-1.1.7

Q1: Should I remove the other channel? (nix-channel --remove nixos)

Q2: If not, do I need to be careful to install nixpkgs.XXX instead of
nixos.pkgs.XXX from now on? Or does it matter?



More information about the nix-dev mailing list