From 9ea565054a7496aeccf61811cb75efdb4196e551 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Fri, 26 Dec 2025 14:39:29 +0200 Subject: [PATCH] example/hyprland.desktop: fix path --- example/hyprland.desktop.in | 2 +- nix/default.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/example/hyprland.desktop.in b/example/hyprland.desktop.in index e54fc99b2..d8e87d60e 100644 --- a/example/hyprland.desktop.in +++ b/example/hyprland.desktop.in @@ -1,7 +1,7 @@ [Desktop Entry] Name=Hyprland Comment=An intelligent dynamic tiling Wayland compositor -Exec=@CMAKE_INSTALL_BINDIR@/start-hyprland +Exec=@PREFIX@/@CMAKE_INSTALL_BINDIR@/start-hyprland Type=Application DesktopNames=Hyprland Keywords=tiling;wayland;compositor; diff --git a/nix/default.nix b/nix/default.nix index a6668fa5c..547768711 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -108,8 +108,9 @@ in # Fix hardcoded paths to /usr installation sed -i "s#/usr#$out#" src/render/OpenGL.cpp - # Remove extra @PREFIX@ to fix pkg-config paths + # Remove extra @PREFIX@ to fix some paths sed -i "s#@PREFIX@/##g" hyprland.pc.in + sed -i "s#@PREFIX@/##g" example/hyprland.desktop.in ''; env = {