Added a comment on how to get help about mkDerivationByConfiguration in all-packages.nix

svn path=/nixpkgs/trunk/; revision=11046
This commit is contained in:
Marc Weber 2008-03-11 08:11:06 +00:00
parent 8b7d3bff69
commit 6a3f5200a7

View File

@ -231,6 +231,10 @@ rec {
meta = (if drv ? meta then drv.meta else {}) // {priority = "10";}; meta = (if drv ? meta then drv.meta else {}) // {priority = "10";};
}; };
# documentation see examples in lib at end of file or read some use cases
# within this file
# Before spending much time on investigating how this works just ask me
# - Marc Weber (#irc or marco-oweber@gmx.de)
mkDerivationByConfiguration = mkDerivationByConfiguration =
assert builtins ? isAttrs; assert builtins ? isAttrs;
{ flagConfig ? {}, optionals ? [], defaults ? [] { flagConfig ? {}, optionals ? [], defaults ? []