Skip to content

Commit edb29c8

Browse files
authored
Merge pull request #230 from CyberShadow/strict-builder
base: Run the builder in strict mode, too
2 parents c54c511 + a7c96a9 commit edb29c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/base.nix

+1
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ in
306306
307307
# Become a fake "root" in a new namespace so we can bind mount sources
308308
${pkgs.toybox}/bin/cat << 'EOF' | ${pkgs.util-linux}/bin/unshare -m -r ${pkgs.runtimeShell}
309+
set -e -o pipefail
309310
source $stdenv/setup
310311
genericBuild
311312
EOF

0 commit comments

Comments
 (0)