# NUR リポジトリをクローンしてファイル構成を確認する
git clone --depth 1 https://github.com/nix-community/NUR
cd NUR

# repos.json の先頭エントリを確認する
python3 -c "import json; data=json.load(open('repos.json')); repos=list(data['repos'].items())[:3]; [print(f'{k}: {v}') for k,v in repos]"

# Nix がインストール済みの場合: hello-nur パッケージを試す
# nix-shell -p nur.repos.mic92.hello-nur --command hello

# Nix がインストール済みの場合: NUR のロックファイルを更新する
# ./bin/nur update
