Thanks for the info, that helps, oh and I'm running NixOS which I installed using 16.03 on to a virtual private server and my configuration.nix file is here (https://goo.gl/cXjV8E) and here is my uname info:
[wink@vps1:~]$ uname -a Linux vps1 4.4.20 #1-NixOS SMP Wed Sep 7 06:32:59 UTC 2016 x86_64 GNU/Linux It seems I don't have 3.9.0 available, how do I get it? [wink@vps1:~]$ nix-env -qaP llvm warning: name collision in input Nix expressions, skipping ‘/home/wink/.nix-defexpr/channels_root/nixos’ nixos.llvm_34 llvm-3.4.2 nixos.llvm_35 llvm-3.5.2 nixos.llvm_36 llvm-3.6.2 nixos.llvm llvm-3.7.1 nixos.llvm_38 llvm-3.8.0 [wink@vps1:~]$ nix-env -qaP clang-wrapper warning: name collision in input Nix expressions, skipping ‘/home/wink/.nix-defexpr/channels_root/nixos’ nixos.clangSelf clang-wrapper-3.4.2 nixos.clang_34 clang-wrapper-3.4.2 nixos.clang_35 clang-wrapper-3.5.2 nixos.clang_36 clang-wrapper-3.6.2 nixos.clang clang-wrapper-3.7.1 nixos.clang_38 clang-wrapper-3.8.0 (Btw, what have I done to cause the 'warning: name collision'?) On Mon, Sep 12, 2016 at 10:24 AM Layus <[email protected]> wrote: > > Hi, > > You can install llvm with nix-env -iA nixos.llvm nixos.clang (replace nixos > by nixpkgs if you are not using NixOS). > If you want a specific version, you can install llvm_XX and clang_XX as in > nix-env -iA nixos.llvm_34 nixos.clang_34. > > For your issue, it arises because you want to install “llvm” which exists in > different versions. > Usually we provide a default one, but it seems currently broken in your > channel. > The fix I provide installs the package by its attribute name (-A option), > whis is, by construction, unique. > > nix-env is unable to pick the right llvm/clang amongst: > > $ nix-env -qaP llvm > nixos.llvm_34 llvm-3.4.2 > nixos.llvm_35 llvm-3.5.2 > nixos.llvm_36 llvm-3.6.2 > nixos.llvm llvm-3.7.1 > nixos.llvm_38 llvm-3.8.0 > $ nix-env -qaP clang-wrapper > nixos.clangSelf clang-wrapper-3.4.2 > nixos.clang_34 clang-wrapper-3.4.2 > nixos.clang_35 clang-wrapper-3.5.2 > nixos.clang_36 clang-wrapper-3.6.2 > nixos.clang clang-wrapper-3.7.1 > nixos.clang_38 clang-wrapper-3.8.0 > > — Layus. > > On 12/09/16 18:58, Wink Saville wrote: > > I'm unable to install clang/llvm 3.9.0: > > [wink@vps1:~]$ nix-env -qa llvm > warning: name collision in input Nix expressions, skipping > ‘/home/wink/.nix-defexpr/channels_root/nixos’ > llvm-3.4.2 > llvm-3.5.2 > llvm-3.6.2 > llvm-3.7.1 > llvm-3.8.0 > > [wink@vps1:~]$ nix-env -qa clang > warning: name collision in input Nix expressions, skipping > ‘/home/wink/.nix-defexpr/channels_root/nixos’ > clang-3.7.1 > > > > I'm currently on nixos-unstable-small: > > [wink@vps1:~]$ nix-channel --list > nixos https://nixos.org/channels/nixos-unstable-small > > What am I doing wrong? > > -- Wink > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
