mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 10:10:06 +01:00
10 lines
216 B
Bash
Executable file
10 lines
216 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
cd "$CI_PROJECT_DIR"
|
|
|
|
nix_shell="${NIX_CI_SHELL:-ci}"
|
|
|
|
echo "Using nix version $(nix --version)"
|
|
echo "Activating flake's '$nix_shell' shell..."
|
|
nix develop .#"$nix_shell" --impure --command "bash"
|