aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkgs/populate/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index fad6d18..b5b8a7b 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -27,6 +27,7 @@ let
rsync' target config (quote source.path);
pop.git = target: source: shell' target /* sh */ ''
+ set -efu
if ! test -e ${quote target.path}; then
git clone --recurse-submodules ${quote source.url} ${quote target.path}
fi