crate2nix icon indicating copy to clipboard operation
crate2nix copied to clipboard

Allow users to configure default git branch name

Open JonathanLorimer opened this issue 2 years ago • 4 comments

JonathanLorimer avatar Jul 16 '21 18:07 JonathanLorimer

(See https://github.com/kolloch/crate2nix/issues/205#issuecomment-941199516)

Ericson2314 avatar Oct 15 '21 03:10 Ericson2314

I had the same issue, but the root cause seems to be that the branch parameter in cargo is simply ignored by crate2nix and it's not the problem with the defaults.

QAston avatar Oct 27 '21 08:10 QAston

@QAston sorry I didn't respond sooner, are you saying this fix is insufficient on its own?

Ericson2314 avatar Nov 07 '21 19:11 Ericson2314

Yes, I think so. Might be a different problem though - my cargo file pointed to the correct branch but it was ignored by cargo.nix, maybe in the OP's case there was no branch set in cargo files.

QAston avatar Nov 09 '21 10:11 QAston

Heyo @QAston / @Ericson2314,

I am doing some clean up work... I guess we can close this?

kolloch avatar Oct 17 '23 05:10 kolloch

(otherwise reopen)

kolloch avatar Oct 17 '23 05:10 kolloch

no idea, I moved on from nix, I hope I never have to go back

QAston avatar Oct 17 '23 10:10 QAston