-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Spotifyd rust packages #114309
Spotifyd rust packages #114309
Conversation
8863530
to
dcccf49
Compare
Result of 1 package built:1 suggestion:
Result of 1 package built:1 suggestion:
|
dcccf49
to
1ef5249
Compare
Just to add some historical context here (who knows how long this will continue to happen): |
@andir Very good point and I apologize for not adding a comment in the code for future contributors to validate the package not just compiles but works. I was talking with @sarcasticadmin yesterday and he mentioned there should be some unit testing around this to prevent these issues in the future. I don't have much experience in that but its definitely something I'd like to learn more about and am willing to give it a shot. |
As this requires a closed source backend I am not sure how to validate it outside of the sandbox. |
Just to update: it seems like a version which fixes the original issue has been merged and released as v0.3.1 (see Spotifyd/spotifyd#900), although we might want to wait for Spotifyd/spotifyd#912 before updating. |
Motivation for this change
Spotifyd v0.3.0 does not work -
Caught panic with message: attempted to zero-initialize type `librespot_tremor::tremor_sys::ov_callbacks`, which is invalid Caught panic with message: called `Result::unwrap()` on an `Err` value: "SendError(..)" Player thread panicked!
According to this issue its due to the latest rust version. Pining the version of rust back to
rustPackages_1_45
fixes this error.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)