Skip to content

Commit a72bf86

Browse files
Nix referesh fix (#106)
1 parent 82bfa97 commit a72bf86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/kup/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def repo_path_with_access(self, override_branch_tag_commit_or_path: Optional[str
106106

107107
def url(self, override_branch_tag_or_commit: Optional[str] = None) -> str:
108108
path, git_token_options = self.repo_path_with_access(override_branch_tag_or_commit)
109-
result = nix(['flake', 'metadata', path, '--json'] + git_token_options, is_install=False)
109+
result = nix(['flake', 'metadata', path, '--json'] + git_token_options, is_install=False, refresh=True)
110110
meta = json.loads(result)
111111
return meta['url']
112112

0 commit comments

Comments
 (0)