Last active
August 30, 2017 00:03
-
-
Save grahamc/4cd3d0d5046d57b972fc8eccdc0f4d1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filterFn = path: type: let basename = baseNameOf (toString path); in | |
if type == "directory" then basename != ".git" | |
else if type == "symlink" then builtins.match "^result(-.*)?$" basename == null | |
else builtins.match "^.*(.sw[a-z]|~)$" basename == null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment