Skip to content

feat: absorb the shared flake — this repo is now the metio nix toolchain#1

Merged
sebhoss merged 1 commit into
mainfrom
feat/absorb-flake
Jul 6, 2026
Merged

feat: absorb the shared flake — this repo is now the metio nix toolchain#1
sebhoss merged 1 commit into
mainfrom
feat/absorb-flake

Conversation

@sebhoss

@sebhoss sebhoss commented Jul 6, 2026

Copy link
Copy Markdown
Member

Moves the devShell definition and the from-source Go tools out of metio/ci's flake into this repo, so one repo owns both halves of the metio nix toolchain: the flake (lib.mkDevShell + lintTools + lintCommands + arch-go / modernize / helm-schema + kubebuilderAssets) and the Nix-installer action. Consumers now reference one repo for both — inputs.devshell.url = github:metio/nix-devshell and uses: metio/nix-devshell@<sha> — instead of pulling the flake from metio/ci and the action from here.

The flake is consumed as a flake input (commit-following via Renovate lock maintenance), so it needs no releases: release.yml stays scoped to paths: action.yml, exactly as before, and a flake/tool/nixpkgs bump cuts no tag. The repo drops its ci flake input (it owns mkDevShell now) and dogfoods its own devShell — verify.yml runs the lint gate through the ci-* wrappers, and update-flake.yml (relocated here with the tool definitions) keeps their hashes current. shell.nix comes along for nix-shell compatibility.

metio/ci becomes a thin consumer of this flake in a follow-up, once every repo has repointed its input from ci to devshell.

Moves the devShell definition and the from-source Go tools out of metio/ci's
flake into this repo, so one repo owns both halves of the metio nix toolchain:
the flake (lib.mkDevShell + lintTools + lintCommands + arch-go / modernize /
helm-schema + kubebuilderAssets) and the Nix-installer action. Consumers now
reference one repo for both — `inputs.devshell.url = github:metio/nix-devshell`
and `uses: metio/nix-devshell@<sha>` — instead of pulling the flake from
metio/ci and the action from here.

The flake is consumed as a flake input (commit-following via Renovate lock
maintenance), so it needs no releases: release.yml stays scoped to
`paths: action.yml`, exactly as before, and a flake/tool/nixpkgs bump cuts no
tag. The repo drops its `ci` flake input (it owns mkDevShell now) and dogfoods
its own devShell — verify.yml runs the lint gate through the ci-* wrappers, and
update-flake.yml (relocated here with the tool definitions) keeps their hashes
current. shell.nix comes along for `nix-shell` compatibility.

metio/ci becomes a thin consumer of this flake in a follow-up, once every repo
has repointed its input from `ci` to `devshell`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
@sebhoss sebhoss merged commit 9bbba31 into main Jul 6, 2026
6 checks passed
@sebhoss sebhoss deleted the feat/absorb-flake branch July 6, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant