mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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:
parent
c6f12a23e6
commit
1e7f572683
@ -6,18 +6,20 @@ 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 {
|
||||
name = "ruby";
|
||||
list = let l = rubyLibs; in
|
||||
[ pkgs.ruby l.chronic l.sup ];
|
||||
};
|
||||
}
|
||||
packageOverrides = {
|
||||
rubyCollection = collection {
|
||||
name = "ruby";
|
||||
list = let l = rubyLibs; in
|
||||
[ pkgs.ruby l.chronic l.sup ];
|
||||
};
|
||||
}
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user