general: automate recovery build

This commit is contained in:
2026-09-13 19:56:31 +02:00
parent e2e4dcae4e
commit 0cd1499fa3
3 changed files with 50 additions and 20 deletions
+6 -1
View File
@@ -48,5 +48,10 @@ let
in pkgs.stdenv.mkDerivation {
name = "android-env-shell";
nativeBuildInputs = [ fhs ];
shellHook = "exec android-env";
shellHook = ''
if [ -n "$BASH_EXECUTION_STRING" ]; then
exec android-env -c "$BASH_EXECUTION_STRING"
fi
exec android-env
'';
}