diff --git a/pkg/env/env.go b/pkg/env/env.go index e5ca50e..eb50444 100644 --- a/pkg/env/env.go +++ b/pkg/env/env.go @@ -31,7 +31,7 @@ func (e Env) DepsEnv() Env { } func (e Env) DevEnv() Env { - e.state = e.state.Dir("/usr/local/metacall"). + e.state = e.state. AddEnv( "LOADER_LIBRARY_PATH", "/usr/local/metacall/build", @@ -64,7 +64,7 @@ func (e Env) DevEnv() Env { } func (e Env) RuntimeEnv() Env { - e.state = e.state.Dir("/usr/local/metacall"). + e.state = e.state. AddEnv( "DEBIAN_FRONTEND", "noninteractive", @@ -137,8 +137,8 @@ func (e Env) MetaCallBuild(arg string) Env { } func (e Env) MetacallRuntime(arg string) Env { - e.state = e.state.Run(llb.Shlexf("bash /usr/local/metacall/tools/metacall-runtime.sh base backtrace ports clean %v", arg)). - Root() + e.state = e.state.Run(llb.Shlexf("bash /usr/local/metacall/tools/metacall-runtime.sh base ports clean %v", arg)). + Root() // TODO: Add backtrace return e }