docs: documentation for cleanSource

This commit is contained in:
Tobias Pflug
2018-10-02 22:05:06 +02:00
committed by Robert Hensing
parent 1643967b8d
commit 1d68b5ee84
+4
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,