docs: documentation for cleanSource

This commit is contained in:
Tobias Pflug 2017-10-30 18:13:16 +01:00 committed by Robert Hensing
parent 1643967b8d
commit 1d68b5ee84

View File

@ -26,6 +26,10 @@ rec {
(type == "symlink" && lib.hasPrefix "result" baseName)
);
# Filters a source tree removing version control files and directories using cleanSourceWith
#
# Example:
# cleanSource ./.
cleanSource = src: cleanSourceWith { filter = cleanSourceFilter; inherit src; };
# Like `builtins.filterSource`, except it will compose with itself,