From 501bfa6b721bacfa701b5276ae6be97fb1e913d8 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Fri, 22 Jan 2021 16:26:11 -0700 Subject: Run `set -euo pipefail` in generated activation scripts --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'flake.nix') 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; -- cgit v1.2.3