aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix/default.nix
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2024-05-09 19:24:31 +0300
committerMihai Fufezan <[email protected]>2024-05-12 17:49:50 +0300
commit6be765b7a1f4677f67f31f6aa45389d40109d4c8 (patch)
tree9c1233e452a40ebf81578d60e05387baf8445a68 /nix/default.nix
parent33a7b7bb6b307d6e4a093f75ffdda0419cd7ffaf (diff)
downloadHyprland-6be765b7a1f4677f67f31f6aa45389d40109d4c8.tar.gz
Hyprland-6be765b7a1f4677f67f31f6aa45389d40109d4c8.zip
Nix: fix pkgconfig prefix
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix
index 419b1429..5da00d72 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -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;