aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkgs/populate/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix
index dcb26b9..487f689 100644
--- a/pkgs/populate/default.nix
+++ b/pkgs/populate/default.nix
@@ -62,6 +62,8 @@ let
pop.pass = target: source: let
passPrefix = "${source.dir}/${source.name}";
in /* sh */ ''
+ set -efu
+
umask 0077
if test -e ${quote source.dir}/.git; then