Merge pull request #106050 from andir/spotifyd-downgrade-rustc

spotifyd: workaround panic with older rust version
This commit is contained in:
Maximilian Bosch 2020-12-06 17:42:20 +01:00 committed by GitHub
commit 573d1ff14a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl { stdenv, fetchFromGitHub, rustPackages_1_45, pkgconfig, openssl
, withALSA ? true, alsaLib ? null , withALSA ? true, alsaLib ? null
, withPulseAudio ? false, libpulseaudio ? null , withPulseAudio ? false, libpulseaudio ? null
, withPortAudio ? false, portaudio ? null , withPortAudio ? false, portaudio ? null
@ -7,7 +7,10 @@
, dbus ? null , 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"; pname = "spotifyd";
version = "0.2.24"; version = "0.2.24";