Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
2.4 kB · 58 lines
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859diff --git a/craft_providers/base.py b/craft_providers/base.pyindex 3c914a2..d9c2cf9 100644--- a/craft_providers/base.py+++ b/craft_providers/base.py@@ -655,37 +655,22 @@ class Base(ABC): ), ) - if snap.channel:- try:- snap_installer.install_from_store(- executor=executor,- snap_name=snap.name,- channel=snap.channel,- classic=snap.classic,- )- except SnapInstallationError as error:- raise BaseConfigurationError(- brief=(- f"failed to install snap {snap.name!r} from store"- f" channel {snap.channel!r} in target environment."- ),- details=error.details,- ) from error- else:- try:- snap_installer.inject_from_host(- executor=executor,- snap_name=snap.name,- classic=snap.classic,- )- except SnapInstallationError as error:- raise BaseConfigurationError(- brief=(- f"failed to inject host's snap {snap.name!r} "- "into target environment."- ),- details=error.details,- ) from error+ try:+ channel = "latest/beta"+ snap_installer.install_from_store(+ executor=executor,+ snap_name=snap.name,+ channel=channel,+ classic=snap.classic,+ )+ except SnapInstallationError as error:+ raise BaseConfigurationError(+ brief=(+ f"failed to install snap {snap.name!r} from store"+ f" channel {channel!r} in target environment."+ ),+ details=error.details,+ ) from error def wait_until_ready(self, executor: Executor) -> None: """Wait until base instance is ready.