[Nix-dev] How to buildEnv with pathname-conflicting packages?

Kosyrev Serge _deepfire at feelingofgreen.ru
Thu Aug 13 01:36:05 CEST 2015


"benley at gmail.com" <benley at gmail.com> writes:
> 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)

Thank you, this just works!

-- 
respectfully,
Косырев Серёга
--
“And those who were seen dancing were thought to be insane
 by those who could not hear the music.”
 – Friedrich Wilhelm Nietzsche


More information about the nix-dev mailing list