本文へ移動
cccskills
無料GitHub で公開

update-pins

Update flake inputs and prune packages that are now shadowed by corepkgs

日本語の概要は準備中です。原文の説明を表示しています。

ekala-project/ekapkgsスター 13(GitHub 13 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Overview

Update all flake input pins, then detect and remove ekapkgs packages that are now provided by corepkgs (i.e., shadowed packages). Packages in pkgs/ that shadow corepkgs are safe to remove. Entries in top-level.nix that shadow corepkgs are intentional overrides — report them but do not remove them without confirmation.

Steps

1. Update flake inputs

nix flake update

2. Detect shadowed packages

Run the existing detection script:

nix-instantiate --eval --strict ci/shadowed-packages.nix -A pkgsDir --json

This returns a JSON array of package names in pkgs/ that now exist in corepkgs (either in its pkgs/, pkgs-many/, or top-level.nix).

Also check for top-level shadows:

nix-instantiate --eval --strict ci/shadowed-packages.nix -A topLevel --json

3. Prune shadowed pkgs/ directories

For each package name returned in the pkgsDir list:

  1. Verify the directory pkgs/<name>/ exists.
  2. Remove the entire directory: rm -rf pkgs/<name>.
  3. Report what was removed.

Do NOT remove any directory without first confirming it appears in the pkgsDir output from step 2.

4. Report top-level shadows

If the topLevel list is non-empty, print the shadowed names and advise the user to review top-level.nix — these are intentional overrides and should only be removed after manual review and confirmation.

5. Validate

For each removed package, run:

nix-instantiate -A <package-name>

This confirms the package still evaluates successfully via the corepkgs overlay after the local copy has been removed.

If evaluation fails for any package, restore it from git:

git checkout -- pkgs/<package-name>

and report the failure so the user can investigate.

6. Summary

Print a summary:

  • Number of packages pruned from pkgs/
  • Names of pruned packages
  • Any top-level shadows flagged for review
  • Any validation failures

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Review a package expression for best-practices compliance. Use when reviewing PRs or auditing existing packages — checks meta completeness, build-system idioms (cmakeEntries, mesonEntries, pyproject), dependency placement, and packaging conventions.

日本語の概要は準備中です。原文の説明を表示しています。

ekala-project/ekapkgs132026年10月28日 更新

Fix all broken package builds in the repository. Runs a full build of ci/repos-packages.nix in the background while iterating on failures in the foreground until everything builds.

日本語の概要は準備中です。原文の説明を表示しています。

ekala-project/ekapkgs132026年10月28日 更新

go

無料

Package a Go module for ekapkgs. Use when writing or editing a buildGoModule derivation — covers vendorHash, ldflags, subPackages, tags, env.CGO_ENABLED, proxyVendor, shell completions, and pinning a Go version.

日本語の概要は準備中です。原文の説明を表示しています。

ekala-project/ekapkgs132026年10月28日 更新

ekala-project のスキルをすべて見る

このスキルの問題を報告する