query
On this page

cleanSource

lib.cleanSource

Docs pulled from | This Revision | 18 minutes ago


Nixpkgs manual

Filters a source tree removing version control files and directories using cleanSourceFilter.

Inputs

src

1. Function argument

Examples

cleanSource usage example

cleanSource ./.

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

cleanSource =
    src:
    cleanSourceWith {
      filter = cleanSourceFilter;
      inherit src;
    };