packaging: Ignore "result" folder

This commit is contained in:
Johannes Bornhold 2016-08-30 16:41:07 +02:00
parent b559676e0b
commit d74f8c096f

View file

@ -43,8 +43,10 @@ let
!elem (basename path) [
".git" ".hg" "__pycache__" ".eggs"
"bower_components" "node_modules"
"build" "data" "tmp"] &&
"build" "data" "result" "tmp"] &&
!elem ext ["egg-info" "pyc"] &&
# TODO: johbo: This check is wrong, since "path" contains an absolute path,
# it would still be good to restore it since we want to ignore "result-*".
!startsWith "result" path;
sources = pkgs.config.rc.sources or {};