feat: absorb the shared flake — this repo is now the metio nix toolchain#1
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-devshellanduses: 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 itsciflake 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 fornix-shellcompatibility.metio/ci becomes a thin consumer of this flake in a follow-up, once every repo has repointed its input from
citodevshell.