mirror of https://github.com/hyprwm/Hyprland
Nix: fix pkgconfig prefix
This commit is contained in:
parent
a8ab1b1679
commit
fc6beb3a98
|
@ -70,6 +70,9 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
|
|||
postPatch = ''
|
||||
# Fix hardcoded paths to /usr installation
|
||||
sed -i "s#/usr#$out#" src/render/OpenGL.cpp
|
||||
|
||||
# Remove extra @PREFIX@ to fix pkg-config paths
|
||||
sed -i "s#@PREFIX@/##g" hyprland.pc.in
|
||||
'';
|
||||
|
||||
DATE = date;
|
||||
|
|
Loading…
Reference in New Issue