Nix: apply glaze patch

This commit is contained in:
Mihai Fufezan 2026-01-29 13:16:56 +02:00
parent e92b20292b
commit 7d209b2941
No known key found for this signature in database
2 changed files with 23 additions and 0 deletions

View file

@ -105,6 +105,13 @@ in
]));
};
patches = [
# Bump hyprpm's glaze dependency to 7.0.0, the version already present
# in Nixpkgs.
# TODO: apply patch globally when Arch repos get glaze 7.0.0.
./glaze.patch
];
postPatch = ''
# Fix hardcoded paths to /usr installation
sed -i "s#/usr#$out#" src/render/OpenGL.cpp