aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authornotgne22021-01-22 16:26:11 -0700
committernotgne22021-01-22 16:30:24 -0700
commit501bfa6b721bacfa701b5276ae6be97fb1e913d8 (patch)
treefe1aeaf62acbe986417c22db9202cc22ad1b77aa /flake.nix
parent0f0c0e17e97eeea5d3d5d378bba9393da6b218ca (diff)
Run `set -euo pipefail` in generated activation scripts
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 368e627..545762f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -63,6 +63,8 @@
name = base.name + "-activate-path";
text = ''
#!${pkgs.runtimeShell}
+ set -euo pipefail
+
${activate}
'';
executable = true;