[Nix-dev] Re: WIKI question misc.collection, multiple ghc in PATH, "bit of problem",

Peter Simons simons at cryp.to
Tue Aug 23 17:39:36 CEST 2011


Hi Marc,

 > There are two possible collisions:
 > 1) misc.collection and any other package you've installed
 > 2) packages within one misc.collection.
 >
 > Neither is detected cause the additional packages to be installed are
 > considered lasts by env builder.
 >
 > nixpkgs contains top level attr buildEnv which could be used instead.
 > This would fix 1) and 2).

yes, indeed, it appears that buildEnv is superior to misc.collection in
that regard. Maybe that function should generally be preferred? Why does
the Wiki page recommend collection?

Take care,
Peter




More information about the nix-dev mailing list