Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash if .devenv is not populated with initial data #1621

Open
dz0ny opened this issue Dec 3, 2024 · 2 comments
Open

Crash if .devenv is not populated with initial data #1621

dz0ny opened this issue Dec 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@dz0ny
Copy link
Contributor

dz0ny commented Dec 3, 2024

Describe the bug

RUST_BACKTRACE=1 devenv shell
• Building shell ...
• Using Cachix: devenv
thread 'main' panicked at /private/tmp/nix-build-devenv-1.3.1.drv-0/source/devenv/src/cnix.rs:159:40:
to resolve gc_root: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: devenv::devenv::Devenv::get_dev_environment::{{closure}}.4929
   4: devenv::devenv::Devenv::prepare_develop_args::{{closure}}.4876
   5: devenv::main::{{closure}}.4860
   6: devenv::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

To reproduce

devenv failed due to #1618, which left .devenv directory in somewhat broken state. Removing .devenv solved the issue.

Version

devenv 1.3.1 (aarch64-darwin)

@dz0ny dz0ny added the bug Something isn't working label Dec 3, 2024
@sandydoo
Copy link
Member

sandydoo commented Dec 3, 2024

Are you saying that devenv kept panicking at this point after fixing the Nix daemon?

@dz0ny
Copy link
Contributor Author

dz0ny commented Dec 3, 2024

Are you saying that devenv kept panicking at this point after fixing the Nix daemon?

I'm not sure what was missing from the folder, but it kept crashing, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants