wmenu: fix null deref crash

This commit is contained in:
Ninja3047 2024-03-18 20:53:00 -04:00
parent 8e9880c6bc
commit 287f2c2faf
1 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,14 @@ stdenv.mkDerivation rec {
hash = "sha256-9do7zL7yaZuqVjastySwjsByo5ja+KUP3590VjIyVnI=";
};
# Upstream patch needed to fix NULL deref
patches = [
(fetchpatch {
url = "https://git.sr.ht/~adnano/wmenu/commit/2856dddcac861ddf248143e66ba164d7aa05a0bb.patch";
hash = "sha256-P7SEjMssA8unNAlrgrTHm0uW5pefjpupPb4s/u2fTAM=";
})
];
nativeBuildInputs = [ pkg-config meson ninja ];
buildInputs = [ cairo pango wayland libxkbcommon wayland-protocols scdoc ];