nix-gitlab-ci/ci-image/entrypoint.sh

9 lines
174 B
Bash
Executable file

#!/bin/sh
set -e
cd "$CI_PROJECT_DIR"
nix_shell="${NIX_CI_SHELL:-ci}"
echo "Activating flake's '$nix_shell' shell..."
nix develop .#"$nix_shell" --impure --command "bash"