state: force use of stdlib embed - temporarily until universe repo is ready
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
parent
5e6d1261f7
commit
994a8034c5
@ -12,7 +12,6 @@ import (
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"go.dagger.io/dagger/keychain"
|
||||
"go.dagger.io/dagger/mod"
|
||||
"go.dagger.io/dagger/stdlib"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
@ -397,7 +396,9 @@ func vendorUniverse(ctx context.Context, p string) error {
|
||||
}
|
||||
|
||||
log.Ctx(ctx).Debug().Str("mod", p).Msg("vendoring universe")
|
||||
if _, err := mod.Install(ctx, p, "alpha.dagger.io", ""); err != nil {
|
||||
if err := stdlib.Vendor(ctx, p); err != nil {
|
||||
// FIXME(samalba): disabled install remote stdlib temporarily
|
||||
// if _, err := mod.Install(ctx, p, "alpha.dagger.io", ""); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user