Update index.py reference to point to new default branch

This commit is contained in:
Gavin John 2025-03-01 16:36:21 -08:00
parent 8f3a04eeff
commit 74b044b24e

View file

@ -22,7 +22,7 @@ def resolve_source(pkg: Dict, repo: str, url: str) -> str:
# `nix edit` is
# TODO find commit hash
prefixes = {
"nixpkgs": "https://github.com/nixos/nixpkgs/tree/master/",
"nixpkgs": "https://github.com/nixos/nixpkgs/tree/main/",
"nur": "https://github.com/nix-community/nur-combined/tree/master/",
}
stripped = path.parts[4:]