Skip to content

Commit dc88ec6

Browse files
authored
Add K_FRAMEWORK_BINARY_CACHE to print_substituters_warning (#118)
Co-authored-by: Daniel Britten <daniel.britten@outlook.com>
1 parent e78eda6 commit dc88ec6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/kup/nix.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ def print_substituters_warning() -> None:
295295
add_user_to_trusted = ' '.join(new_trusted_users)
296296
add_user_to_trusted_nix = ' '.join([f'"{s}"' for s in new_trusted_users])
297297
rich.print(
298-
f'\n⚠️ [yellow] The k-framework binary cache [green]{K_FRAMEWORK_CACHE}[/] is not configured in your nix installation and\n'
299-
'the current user does not have sufficient permissions to add and use it.\n'
300-
'[blue]kup[/] relies on this cache to provide faster installation using pre-built binaries.[/]\n\n'
298+
f'\n⚠️ [yellow] The k-framework binary caches [green]{K_FRAMEWORK_CACHE}[/] and [green]{K_FRAMEWORK_BINARY_CACHE}[/] are\n'
299+
'not configured in your nix installation and the current user does not have sufficient permissions to add and use them.\n'
300+
'[blue]kup[/] relies on these caches to provide faster installation using pre-built binaries.[/]\n\n'
301301
'You can still install kup packages from source, however, to avoid building the packages on your local machine, consider:\n'
302302
)
303303
if NIXOS_VERSION is None:

0 commit comments

Comments
 (0)