From 994a8034c5166b678c49da263ede9a7c903283f0 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Fri, 22 Oct 2021 15:41:14 -0700 Subject: [PATCH] state: force use of stdlib embed - temporarily until universe repo is ready Signed-off-by: Sam Alba --- state/project.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/state/project.go b/state/project.go index de208ea2..6176def6 100644 --- a/state/project.go +++ b/state/project.go @@ -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 }