Skip to content

chore: remove Nix and the std deployment framework#1699

Merged
rhyslbw merged 1 commit into
masterfrom
chore/remove-nix-std
Jun 19, 2026
Merged

chore: remove Nix and the std deployment framework#1699
rhyslbw merged 1 commit into
masterfrom
chore/remove-nix-std

Conversation

@rhyslbw

@rhyslbw rhyslbw commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary

Removes all Nix tooling and the std (divnix/standard) framework from the repo — no longer needed. 40 files deleted, 6 surgically edited; yarn.lock is untouched.

Deleted

  • Flake / nix tree: flake.nix, flake.lock, and the entire nix/ directory — including the cardano-services Kubernetes deployment infrastructure (deployments/*.nix, oci-images.nix, operables.nix, packages.nix, terraform outputs, kubeconfigs, local/*).
  • std workflows: .github/workflows/std.yml (jobs check-yarn-project-nix, discover, images, diff, deploy), std-release.yaml, .github/std-unexploded.yml.
  • Nix deploy workflow: .github/workflows/cardano-services.yaml (was nix run .#cardano-services...).
  • Yarn nixify: .yarn/plugins/yarn-plugin-nixify.cjs and the generated yarn-project.nix.
  • Other Nix traces: treefmt.toml (Nix-only formatter config; treefmt was invoked only via the flake), .envrc / .envrc.local.example (direnv).

Edited (surgical)

  • .yarnrc.yml — drop the yarn-plugin-nixify plugin entry.
  • .github/workflows/continuous-integration-unit-tests.yaml — remove the "🔨 Generated files" step (it only restored/verified yarn-project.nix). build_and_test itself is unchanged.
  • Dockerfile — drop yarn-project.nix from the COPY layer.
  • package.jsonversion script no longer git adds yarn-project.nix.
  • .gitignore — remove the # created by nix (result, source), # direnv (/.direnv, .envrc.local), and numtide prj-spec blocks.
  • README.md — remove the "With nix" config-update instructions (the yarn variant remains).

Notes for reviewers

  • This removes the Nix-based cardano-services deployment path. If those k8s deployments are still needed, they'll require a non-Nix replacement — flagging explicitly.
  • Required status checks on master are block-fixup and build_and_test (ubuntu-22.04)neither is removed. The now-deleted check-yarn-project-nix / discover checks are not required, so merges aren't affected.
  • yarn install --immutable verified clean without the nixify plugin (yarn.lock unchanged).

🤖 Generated with Claude Code

Remove all Nix tooling and the std (divnix/standard) framework, which are
no longer used:

- flake.nix / flake.lock and the entire nix/ tree (cardano-services k8s
  deployments, OCI images, operables, terraform outputs, kubeconfigs)
- std workflows (std.yml, std-release.yaml, std-unexploded.yml) and the
  Nix-based cardano-services deploy workflow
- the yarn-plugin-nixify plugin and the generated yarn-project.nix
- treefmt.toml (Nix-only formatter config), .envrc / direnv, and the
  prj-spec .gitignore entries

Drop the now-obsolete yarn-project.nix references from the unit-test
workflow's "Generated files" step, the Dockerfile COPY layer, the npm
version script, and the README config-update instructions.

yarn install --immutable remains clean without the nixify plugin.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rhyslbw rhyslbw marked this pull request as draft June 18, 2026 14:13
@rhyslbw rhyslbw marked this pull request as ready for review June 18, 2026 18:50
@rhyslbw rhyslbw merged commit 80d3f51 into master Jun 19, 2026
6 checks passed
@rhyslbw rhyslbw deleted the chore/remove-nix-std branch June 19, 2026 08:19
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.

3 participants