Merge pull request #266 from bjornfor/fix-typo

Fix typo: nixkgs -> nixpkgs
This commit is contained in:
DavHau 2021-04-26 19:35:18 +07:00 committed by GitHub
commit 8877cdb599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ class NixpkgsIndex(UserDict):
return same_ver[0].nix_key
elif len(same_ver) == 0:
highest = self.get_highest_ver(remaining_pkgs).nix_key
print(f'Multiple nixkgs attributes found for {name}-{ver}: {[p.nix_key for p in remaining_pkgs]}'
print(f'Multiple nixpkgs attributes found for {name}-{ver}: {[p.nix_key for p in remaining_pkgs]}'
f"\nPicking '{highest}' as base attribute name.")
return highest
remaining_pkgs = same_ver