How to use `nix develop` within a GitLab CI pipeline?

This expands $PATH before entering the shell, please use nix develop .#ci -c printenv PATH instead.

As we are running in a non-interactive environment, this enters the shell and exits immediately, it basically is a noop.

Please use nix develop .#ci -c init-pg …

1 Like