[Nix-dev] How to buildEnv with pathname-conflicting packages?
benley at gmail.com
benley at gmail.com
Thu Aug 13 01:23:34 CEST 2015
In that case, you can simply set priorities on the packages you want to
control. There are some helper functions for that, so you can have
something like:
with import <nixpkgs> {};
buildEnv {
name = "myEnv";
ignoreCollisions = true;
paths = [
(lib.lowPrio coreutils)
procps
];
}
(that's what I use to keep coreutils and procps from fighting over 'kill'
and a few other things)
On Wed, Aug 12, 2015 at 6:59 PM Kosyrev Serge <_deepfire at feelingofgreen.ru>
wrote:
> Vladimír Čunát <vcunat at gmail.com> writes:
> > On 08/12/2015 10:41 PM, Kosyrev Serge wrote:
> >> What do I do, then?
> >
> > If you don't care who wins, you can certainly pass ignoreCollisions =
> > true; to buildEnv.
>
> Unfortunately, I do.. : -/
>
> It /does/ matter whose 'as' gets used.
>
> --
> с уважениeм,
> Косырев Серёга
> --
> “And those who were seen dancing were thought to be insane
> by those who could not hear the music.”
> – Friedrich Wilhelm Nietzsche
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150812/0d9ce80a/attachment.html
More information about the nix-dev
mailing list