-
Notifications
You must be signed in to change notification settings - Fork 82
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
Panic when running crate2nix generate
#308
Comments
I am also seeing this. In my case, I'm generating Cargo.nix from a workspace Cargo.toml and Cargo.lock file. The problem still occurs even when I filter down to just a single project in my workspace. Here's my repo, with a flake and a Cargo.toml: savanni/monorepo - monorepo - gitea: Gitea Service I don't have a previous Cargo.nix, as I've been using cargo and shell scripts recently. |
Do you have the most recent I cannot reproduce with the version from master
(but I run into other problems that I will not debug right now on Mac Os at least)
|
@savannidgerinel also seems to work (i.e. not panic during render) for your repo on my system... I'll close for now... Feel very free to reopen if you can reproduce with the version from master. |
Huh can confirm. It works perfectly now... wtf? |
Oh. So, I was using the edition of crate2nix from pkgs-23.05 and mis-reading other parts of my flake.nix where I thought I was pulling crate2nix directly from here. |
No worries :) |
Reproduction:
git clone https://github.com/C0D3-M4513R/DexProtectOscRS.git
cd DexProtectOscRS
RUST_BACKTRACE=1 crate2nix generate
The text was updated successfully, but these errors were encountered: