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 <[email protected]>
wrote:

> Vladimír Čunát <[email protected]> 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
> [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

Reply via email to