# HG changeset patch # User Johannes Bornhold # Date 2016-08-30 14:41:07 # Node ID 6f82aa8a8737fb0aa67516ad37a61cb9a5827e71 # Parent 459a414964f4cec088650885d4bf518f637d2fed packaging: Ignore "result" folder diff --git a/default.nix b/default.nix --- a/default.nix +++ b/default.nix @@ -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 {};