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

Add Rust Overlay to flake to allow for latest stable Rust toolchain #82

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chanman3388
Copy link

Found this as bitstream-io v2.4.2 needs rustc 1.79 or newer.

@matt1432
Copy link

This didn't work for me. I made my own PR here: #84

@chanman3388
Copy link
Author

chanman3388 commented Jul 21, 2024

This didn't work for me. I made my own PR here: #84

I'm unsure why it works for me:

$ rustc --version
rustc 1.77.2 (25ef9e3d8 2024-04-09) (built from a source tarball)

$ nix develop
warning: Git tree '/home/chris/projects/wpaperd' is dirty

$ rustc --version
rustc 1.79.0 (129f3b996 2024-06-10)

It doesn't however if I do:

$ nix shell .
warning: Git tree '/home/chris/projects/wpaperd' is dirty
error: builder for '/nix/store/f3dwqzih0c10yayic8hz76hvvskdcnpn-wpaperd-1.0.1+date=2024-07-16_dirty.drv' failed with exit code 101;
       last 10 log lines:
       > note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
       > warning: `/build/.cargo/config` is deprecated in favor of `config.toml`
       > note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
       > error: rustc 1.78.0 is not supported by the following packages:
       >   [email protected] requires rustc 1.79
       >   [email protected] requires rustc 1.79
       > Either upgrade rustc or select compatible dependency versions with
       > `cargo update <name>@<current-ver> --precise <compatible-ver>`
       > where `<compatible-ver>` is the latest version supporting rustc 1.78.0
       >
       For full logs, run 'nix log /nix/store/f3dwqzih0c10yayic8hz76hvvskdcnpn-wpaperd-1.0.1+date=2024-07-16_dirty.drv'.

@chanman3388
Copy link
Author

This didn't work for me. I made my own PR here: #84

I think I've fixed.

@matt1432
Copy link

Yes that fixes it. I'll close my PR in favor of yours!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants