From 6be765b7a1f4677f67f31f6aa45389d40109d4c8 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 9 May 2024 19:24:31 +0300 Subject: Nix: fix pkgconfig prefix --- nix/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nix') 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; -- cgit v1.2.3