Commit ec0d4a30 authored by Lin Xianyi's avatar Lin Xianyi
Browse files

hyprland: fix incorrect substituteInPlace pattern

Fixes plugin compilation due to incorrect paths. #480513
parent ef68e7d3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -108,9 +108,9 @@ customStdenv.mkDerivation (finalAttrs: {

    # Remove extra @PREFIX@ to fix pkg-config paths
    substituteInPlace hyprland.pc.in \
      --replace-fail  @PREFIX@ ""
      --replace-fail  "@PREFIX@/" ""
    substituteInPlace example/hyprland.desktop.in \
      --replace-fail  @PREFIX@ ""
      --replace-fail  "@PREFIX@/" ""
  '';

  # variables used by CMake, and shown in `hyprctl version`