From 804f85ca9e07f0e78c506ac758635390da9611db Mon Sep 17 00:00:00 2001 From: Technofab Date: Mon, 29 May 2023 14:51:22 +0200 Subject: [PATCH] fix: dont fallback to normal shell as this results in 0 exit code all the time --- entrypoint.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8d67102..7755e4f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,10 +3,5 @@ set -e cd "$CI_PROJECT_DIR" -echo "Trying to activate flake's CI shell..." -{ - nix --extra-experimental-features "flakes nix-command" develop .#ci --impure --command "bash" >/dev/null -} || { - echo "nix develop failed, falling back to normal shell..." - eval "bash" -} +echo "Activating flake's CI shell..." +nix --extra-experimental-features "flakes nix-command" develop .#ci --impure --command "bash" >/dev/null