nix-gitlab-ci/README.md

17 lines
No EOL
486 B
Markdown

# Gitlab Nix Docker Image
Image: [`technofab/nix-gitlab-ci:latest`](https://hub.docker.com/repository/docker/technofab/nix-gitlab-ci/general)
This simple image tries to start a Nix devShell from a flake.nix in the repository.
It uses the devShell named `ci` (optionally just link to the default shell, see below).
```nix
...
rec {
default = devenv.lib.mkShell {};
ci = default;
};
...
```
## Daemon
For caching this uses a separate docker container where a nix-daemon runs in