summaryrefslogtreecommitdiffstats
path: root/pkgs/populate
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-10-31 18:24:57 +0100
committertv <tv@krebsco.de>2018-10-31 18:26:05 +0100
commit170c46d53c83c9bf277b7b6dba7e86c052eae257 (patch)
tree6096523faac3e0c9d477458b547f7a6b3bebb345 /pkgs/populate
parente2b29654251367545700154ffbac806705dd04c0 (diff)
populate git: add clean.exclude
Diffstat (limited to 'pkgs/populate')
-rw-r--r--pkgs/populate/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index d8c1510..d5ff9a1 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -45,7 +45,10 @@ let
git submodule update --init --recursive
fi
- git clean -dfx
+ git clean -dfx \
+ ${concatMapStringsSep " "
+ (pattern: /* sh */ "-e ${quote pattern}")
+ source.clean.exclude }
'';
pop.pass = target: source: let