From d74f8c096f2ff25bc06aac32fbdbc0dc0605425e Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Tue, 30 Aug 2016 16:41:07 +0200 Subject: [PATCH] packaging: Ignore "result" folder --- default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index e3ab0905..baad12a4 100644 --- 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 {};