3
0
Fork 0
forked from mirrors/nixpkgs

pkgs/misc/misc.nix: document the fact that 'collection' does not detect file collisions

svn path=/nixpkgs/trunk/; revision=28610
This commit is contained in:
Peter Simons 2011-08-16 13:03:46 +00:00
parent c6f12a23e6
commit 1e7f572683

View file

@ -7,8 +7,7 @@ in
{
/*
usage example creating a derivation installing ruby, sup and a lib:
Usage example creating a derivation installing ruby, sup and a lib:
packageOverrides = {
rubyCollection = collection {
@ -18,6 +17,9 @@ in
};
}
Warning: Using this function, it is possible to install packages
into one profile that have file collisions, and these will not be
detected.
*/
collection = {list, name} : runCommand "collection-${name}" {} ''
mkdir -p $out/nix-support