diff options
| author | Mihai Fufezan <mihai@fufexan.net> | 2025-12-26 14:39:29 +0200 |
|---|---|---|
| committer | Mihai Fufezan <mihai@fufexan.net> | 2025-12-26 14:39:29 +0200 |
| commit | 9ea565054a7496aeccf61811cb75efdb4196e551 (patch) | |
| tree | d3f14cd4069303fc441f52cff789d9d87b3d6b06 | |
| parent | 1f1a39d46c6b1e4e1757b3618decab4f83c5789a (diff) | |
example/hyprland.desktop: fix path
| -rw-r--r-- | example/hyprland.desktop.in | 2 | ||||
| -rw-r--r-- | nix/default.nix | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/example/hyprland.desktop.in b/example/hyprland.desktop.in index e54fc99b..d8e87d60 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 a6668fa5..54776871 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 = { |
