I have an installation of
nix on a Linux system, and I have added the channel
nixpkgs-unstable. I can now install packages such as
% nix-env --install gcc installing 'gcc-7.4.0' ... created 78 symlinks in user environment
If I look into a directory such as
~/.nix-defexpr/channels/nixpkgs/pkgs/development/compilers/gcc/, I will discover that there is a variety of versions, all complete with
How can I discover these hidden package versions with
ghc-env --query, or some other friendly tool?
Suppose I wish to install
gccversion 8 to my user environment, how should I go about it? Can I obtain several versions of
I have been browsing the voluminous documentation of Nix, but everywhere they say something along the lines of "with Nix, you can install any number of versions at once and they will never conflict" and at the same time "you are supposed to only install one version at a time, that is hardcoded in your channel of choice". What sense does it make?