Skip to content

Commit

Permalink
spotifyd: workaround panic with older rust version
Browse files Browse the repository at this point in the history
rust >= 1.48 causes a panic within spotifyd on music playback. As long
as there is no upstream fix for the issue we use an older version of
rust.

Upstream issue: Spotifyd/spotifyd#719
  • Loading branch information
andir committed Dec 6, 2020
1 parent cf7475d commit 7e5c64d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/applications/audio/spotifyd/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl
{ stdenv, fetchFromGitHub, rustPackages_1_45, pkgconfig, openssl
, withALSA ? true, alsaLib ? null
, withPulseAudio ? false, libpulseaudio ? null
, withPortAudio ? false, portaudio ? null
Expand All @@ -7,7 +7,10 @@
, dbus ? null
}:

rustPlatform.buildRustPackage rec {
# rust >= 1.48 causes a panic within spotifyd on music playback. as long as
# there is no upstream fix for the issue we use an older version of rust.
# Upstream issue: https://github.com/Spotifyd/spotifyd/issues/719
rustPackages_1_45.rustPlatform.buildRustPackage rec {
pname = "spotifyd";
version = "0.2.24";

Expand Down

0 comments on commit 7e5c64d

Please sign in to comment.