aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-12-06 17:42:20 +0100
committerGitHub <noreply@github.com>2020-12-06 17:42:20 +0100
commit573d1ff14af7b9bfe9b91e49c66db601380f6ae8 (patch)
treeddda91bb29d392bae0111e242c6ae0a16a81038e
parent3d629ef7231b9e477d7fafd2705675cfd5f37b8b (diff)
parent7e5c64df85b146248b3900f51010cd4c5e431b9f (diff)
Merge pull request #106050 from andir/spotifyd-downgrade-rustc
spotifyd: workaround panic with older rust version
-rw-r--r--pkgs/applications/audio/spotifyd/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/audio/spotifyd/default.nix b/pkgs/applications/audio/spotifyd/default.nix
index dcb5737afa6a..c4e1695f0835 100644
--- a/pkgs/applications/audio/spotifyd/default.nix
+++ b/pkgs/applications/audio/spotifyd/default.nix
@@ -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
@@ -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";