nix-gitlab-ci/entrypoint.sh

7 lines
194 B
Bash

#!/bin/sh
set -e
cd "$CI_PROJECT_DIR"
echo "Activating flake's CI shell..."
nix --extra-experimental-features "flakes nix-command" develop .#ci --accept-flake-config --impure --command "bash"