We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Running devenv shell in a repo initialized with
devenv shell
git init --object-format=sha256
and a devenv.nix file yields to an error due to the non-default object format.
devenv.nix
Logs
❯ devenv shell • Building shell ... error: … while fetching the input 'git+file:///home/<user>/devel/own/<project>' error: error: opening Git repository '"/home/<user>/devel/own/<project>"': unknown object format 'sha256' ✖ Command produced the following output: ✔ Building shell in 0.1s. Error: × Command `/nix/store/6ywyz24yw7ps2c6hjdnyvgp91d5mwkig-nix-2.21-devenv/bin/nix --show-trace --extra-experimental-features nix- │ command --extra-experimental-features flakes --option warn-dirty false --option eval-cache false --keep-going --max-jobs 12 │ print-dev-env --profile /home/<user>/devel/own/<project>/<subproject>/devenv/gc/shell` failed with with exit code 1 [22:21:34] ~/devel/own/<project>/<subproject> main* ✘ 1 ❯ devenv shell • Building shell ... error: … while fetching the input 'git+file:///home/<user>/devel/own/<project>' error: error: opening Git repository '"/home/<user>/devel/own/<project>"': unknown object format 'sha256' ✖ Command produced the following output: ✔ Building shell in 0.1s. Error: × Command `/nix/store/6ywyz24yw7ps2c6hjdnyvgp91d5mwkig-nix-2.21-devenv/bin/nix --show-trace --extra-experimental-features nix- │ command --extra-experimental-features flakes --option warn-dirty false --option eval-cache false --keep-going --max-jobs 12 │ print-dev-env --profile /home/<user>/devel/own/<project>/<subproject>/.devenv/gc/shell` failed with with exit code 1
Version
❯ devenv version devenv 1.0.5 (x86_64-linux)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Running
devenv shell
in a repo initialized withand a
devenv.nix
file yields to an error due to the non-default object format.Logs
Version
The text was updated successfully, but these errors were encountered: