hyprland: add patch to fix plugins compilation
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
stdenvAdapters,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pkg-config,
|
||||
makeWrapper,
|
||||
cmake,
|
||||
@@ -101,6 +102,14 @@ customStdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-5jYD01l95U/HTfZMAccAvhSnrWgHIRWEjLi9R4wPIVI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# NOTE: this is required to make plugins compile. should be removed with the next release.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/hyprwm/Hyprland/commit/522edc87126a48f3ce4891747b6a92a22385b1e7.patch";
|
||||
hash = "sha256-0BAlAVW5isa8gd833PjZdqO/uEpDqdTlu0iZbLP4U9s=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix hardcoded paths to /usr installation
|
||||
sed -i "s#/usr#$out#" src/render/OpenGL.cpp
|
||||
|
||||
Reference in New Issue
Block a user