Closed shyim closed 1 year ago
I see the issue, I'll look into it.
Also need to install https://github.com/direnv/direnv-vscode
Same issue, just devcontainer.enable = true
then opened it for testing.
edit: Removing .devcontainer.json fixed it
I get the same issue when using the devcontainer created by devcontainer.enable = true
in my own repo as well. So it seems to not only be when working on devenv itself.
devenv: 0.4
I'll fix this one soon, I have an idea how to get it done.
Need to check what they do in https://github.com/zombiezen/codespaces-nix
deleting .devcontainer.json
did not work for me, it simply meant that the default codespaces without devenv
was used so i couldn't enter a devenv shell
between this issue and https://github.com/cachix/devenv/issues/267 i'm locked out of using devenv atm 😞
I'll look into this one tomorrow
@domenkozar any luck/progress/workaround for this one?
https://github.com/cachix/devenv/pull/482 should fix it and I pushed the newest image.
Can you try using devcontainer on the repo that didn't work before?
@domenkozar this bug does seem to be fixed, sadly cargo seems to be blowing resource limits on codespaces, even on a machine that would cost me $50-100 a month
any chance we could get it compiling on mac? https://github.com/cachix/devenv/issues/267
do you have an example repo? sounds strange
@shyim it's not that strange that rust uses a ton of memory, storage and cpu to compile
this was enough to get a sigkill during compilation (usually means resource usage on CI)
cargo install --git https://github.com/foundry-rs/foundry foundry-cli anvil chisel --bins --locked
an 8 core codespace is $0.72 an hour and still sigkills (but that can just be because rust throws more jobs based on CPU than it has memory to handle, so scaling up resources can do nothing to fix these issues without extra config)
Describe the bug
Deleting that file and opening the shell does not help its broken again
To Reproduce
Version
main branch (89cd0f7d6122cbe1f351e8f6fccc7fc638690e9f)