You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should be able to generate Cargo.nix with the normal nixpkgs rustc. Then when calling it, you override buildRustCrateForPkgs. I have an example here: https://github.com/apoelstra/local-nix-ci/blob/main/andrew-utils.nix#L527-L573 though this also does several other things which might not be interesting to you.
@apoelstra I'm very sorry, but I couldn't implement your example in my code. Could you send another example or explain this one in more detail, please?
I have
default.nix
which compiles the application. I have my own crate that uses several functions from nightly. Mydefault.nix
:But i got an error
![image](https://private-user-images.githubusercontent.com/88966131/400076473-fd611160-6826-4417-beee-0d79f5b933bb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTg4MDgsIm5iZiI6MTczOTMxODUwOCwicGF0aCI6Ii84ODk2NjEzMS80MDAwNzY0NzMtZmQ2MTExNjAtNjgyNi00NDE3LWJlZWUtMGQ3OWY1YjkzM2JiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDAwMDE0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlYjljODUyYzNiM2E5OTA3MWE1Nzk4MTBkZWQ0MTJiZmRmYTY3NTYyNzdjYjQ4MjUzOWE5MDhlOTdiYzE2YzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wBYBYHy73oOo2slk07zhOSKlGWnMP7UN8leqmVjlF68)
The text was updated successfully, but these errors were encountered: