#Elixir runtime module

1 messages · Page 1 of 1 (latest)

haughty wolf
#

How are you running that?

weak elk
#

dagger init --sdk=github.com/wingyplus/daggerverse/elixir-sdk@main --name=first-mod --debug

haughty wolf
#

It looks like the context dir has path of /. \cc @icy obsidian

icy obsidian
# haughty wolf It looks like the context dir has path of `/`. \cc <@949034677610643507>

Well the problem is that it's trying to diff the / of the context dir with a dir that is at a subpath of /src. This is really just a limitation of our implementation of Directory.diff that doesn't need to exist.

@weak elk there's a quick workaround to just create a mount with the context dir at /src in the container in the same way the python sdk is doing here: https://github.com/sipsma/dagger/blob/b2450fc1c61dfff5f04fe1679bc09b412c33a7e0/sdk/python/runtime/main.go#L92-L92

We can also fix that limitation in diff, I will give a quick shot

GitHub

A portable devkit for CI/CD pipelines. Contribute to sipsma/dagger development by creating an account on GitHub.