スキル一覧に戻る
i9wa4

nix

by i9wa4

6🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: nix description: | Nix commands and package management guide. Use when:

  • Running nix build, nix run
  • Adding custom packages
  • Using nurl for hash acquisition

Nix Skill

1. nix build

  • YOU MUST: Always use --no-link option with nix build

    nix build .#rumdl --no-link
    
  • IMPORTANT: Without --no-link, a ./result symlink is created

2. nix run

  • IMPORTANT: Packages registered in packages can be run with nix run

    nix run .#pike -- scan -d ./terraform
    

3. Adding Custom Packages

  • YOU MUST: See CONTRIBUTING.md section 1.4.2 for adding new custom packages
  • IMPORTANT: Hash acquisition flow
    1. Get hash using nurl: nurl https://github.com/<owner>/<repo> <tag>
    2. Get vendorHash/cargoHash via build error (got: line)
  • IMPORTANT: Add doCheck = false; if tests fail

4. nurl

  • IMPORTANT: nurl generates Nix fetcher calls from repository URLs

    nurl https://github.com/rvben/rumdl v0.0.206
    
  • IMPORTANT: Output can be used directly in fetchFromGitHub

    fetchFromGitHub {
      owner = "rvben";
      repo = "rumdl";
      rev = "v0.0.206";
      hash = "sha256-XXX...";
    }
    
  • IMPORTANT: For cargoHash/vendorHash, use build error method (nurl does not support these)

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です