forked from mirrors/nixpkgs
waybar: fix compatibility with kernels >=5.11
This commit is contained in:
parent
ecf4afbdaa
commit
fcb969e119
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, meson
|
, meson
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, ninja
|
, ninja
|
||||||
|
@ -36,6 +37,17 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1kzrgqaclfk6gcwhknxn28xl74gm5swipgn8kk8avacb4nsw1l9q";
|
sha256 = "1kzrgqaclfk6gcwhknxn28xl74gm5swipgn8kk8avacb4nsw1l9q";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# XXX: REMOVE ON NEXT VERSION BUMP
|
||||||
|
# Fixes compatibility of the bluetooth and network modules with linux kernel
|
||||||
|
# >=5.11
|
||||||
|
# c.f. https://github.com/Alexays/Waybar/issues/994
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/Alexays/Waybar/pull/1015.patch";
|
||||||
|
sha256 = "sha256-jQZEM3Yru2yxcXAzapU47DoAv4ZoabrV80dH42I2OFk=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja pkg-config scdoc wrapGAppsHook cmake
|
meson ninja pkg-config scdoc wrapGAppsHook cmake
|
||||||
] ++ lib.optional withMediaPlayer gobject-introspection;
|
] ++ lib.optional withMediaPlayer gobject-introspection;
|
||||||
|
|
Loading…
Reference in a new issue