mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
17 lines
No EOL
486 B
Markdown
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 |