mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
hyprland: fix build
Apply the patch fixing wayland.xml discovery.
This commit is contained in:
parent
6b25e18887
commit
73288a2c8a
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pkg-config,
|
||||
makeWrapper,
|
||||
cmake,
|
||||
@ -75,6 +76,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-deu8zvgseDg2gQEnZiCda4TrbA6pleE9iItoZlsoMtE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/hyprwm/Hyprland/pull/7467
|
||||
(fetchpatch {
|
||||
url = "https://github.com/hyprwm/Hyprland/commit/a437e44a6af8e8f42966ffe3a26c1d562fce6b33.diff";
|
||||
hash = "sha256-Y0P4rY6HyPN8Y5Kowlgyj0PiAHh6nqPRAQ4iFT0l4E8=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix hardcoded paths to /usr installation
|
||||
sed -i "s#/usr#$out#" src/render/OpenGL.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user