[Nix-dev] NEWBYE question: why clang-3.7 ships cpp?

Christophe Trophime christophe.trophime at lncmi.cnrs.fr
Wed Mar 23 10:53:46 CET 2016


----- Original Message -----
> From: "Vladimír Čunát" <vcunat at gmail.com>
> To: "Christophe Trophime" <christophe.trophime at lncmi.cnrs.fr>
> Cc: nix-dev at lists.science.uu.nl
> Sent: Wednesday, March 23, 2016 10:43:19 AM
> Subject: Re: [Nix-dev] NEWBYE question: why clang-3.7 ships cpp?
> 
> On 03/23/2016 10:39 AM, Christophe Trophime wrote:
> > I would like to install clang along with gcc.
> > Unfortunately it seems not possible since the 2 "packages" ships cpp.
> 
> You can choose priorities to resolve same-path clashes.
> http://nixos.org/nix/manual/#description-5
> 

Thanks for the pointer

You mean that I can install clang and gcc provided I do something like that:
nix-env --set-flag priority 5 binutils
nix-env --set-flag priority 10 gcc
nix-env --set-flag priority 20 clang

> > PS: If this is not the best place to ask these "newbie" questions lease
> > indicate me a better place
> 
> I don't think this is a bad place. IRC might be better for this in some
> respects.
> 
> --Vladimir
> 
> 
> 


More information about the nix-dev mailing list