mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 10:05:59 +01:00
Nix: fix pkgconfig prefix
This commit is contained in:
parent
33a7b7bb6b
commit
6be765b7a1
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Fix hardcoded paths to /usr installation
|
# Fix hardcoded paths to /usr installation
|
||||||
sed -i "s#/usr#$out#" src/render/OpenGL.cpp
|
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;
|
DATE = date;
|
||||||
|
|
Loading…
Reference in a new issue