nix: add hyprland-protocols through pkgconfig (#1275)
This commit is contained in:
parent
af4b9700b7
commit
809b7181a8
3 changed files with 11 additions and 10 deletions
|
|
@ -67,6 +67,7 @@ in
|
|||
[
|
||||
git
|
||||
cairo
|
||||
hyprland-protocols
|
||||
libdrm
|
||||
libinput
|
||||
libxkbcommon
|
||||
|
|
@ -99,10 +100,6 @@ in
|
|||
postPatch = ''
|
||||
# Fix hardcoded paths to /usr installation
|
||||
sed -i "s#/usr#$out#" src/render/OpenGL.cpp
|
||||
|
||||
# for some reason rmdir doesn't work in a dirty tree
|
||||
rmdir subprojects/hyprland-protocols || true
|
||||
ln -s ${hyprland-protocols} subprojects/hyprland-protocols
|
||||
'';
|
||||
|
||||
passthru.providedSessions = ["hyprland"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue