Skip to content

Commit

Permalink
Merge pull request #106050 from andir/spotifyd-downgrade-rustc
Browse files Browse the repository at this point in the history
spotifyd: workaround panic with older rust version
  • Loading branch information
Ma27 authored Dec 6, 2020
2 parents 3d629ef + 7e5c64d commit 573d1ff
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 573d1ff

Please sign in to comment.