Merge pull request #292809 from NixyJuppie/spotify-tray-wayland-fix
spotify-tray: fix crash on wayland
This commit is contained in:
commit
7db833f6e7
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, gtk3 }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, gtk3, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "spotify-tray";
|
||||
@ -19,10 +19,14 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper ];
|
||||
|
||||
buildInputs = [ gtk3 ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/spotify-tray --set GDK_BACKEND x11
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tsmetana/spotify-tray";
|
||||
description = "Adds a tray icon to the Spotify Linux client application";
|
||||
|
Loading…
Reference in New Issue
Block a user