[PATCH 10/20] host/rootfs: Set -eu in build

Demi Marie Obenour
2025-09-04T23:48:10Z

This reduces the set of errors in the build that can cause a broken
image to be produced without failing the build.

Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
---
host/rootfs/default.nix | 1 +
1 file changed, 1 insertion(+)

diff --git a/host/rootfs/default.nix b/host/rootfs/default.nix
index 998220d7b6ed322f64ee52c704e71ec9b4643f59..e09340a94e24d35080ad65d447fe1c8812df67d0 100644
--- a/host/rootfs/default.nix
+++ b/host/rootfs/default.nix
@@ -138,6 +138,7 @@ let
depsBuildBuild = [ inkscape ];
nativeBuildInputs = [ xorg.lndir ];
} ''
+ set -eu
mkdir -p $out/usr/bin $out/usr/share/dbus-1/services \
$out/usr/share/icons/hicolor/20x20/apps

--
2.51.0