rstudio: fix .desktop file by properly escaping use of cmake variable

(cherry picked from commit a22a61f6bc)
This commit is contained in:
TomaSajt
2025-05-24 11:47:38 +02:00
committed by github-actions[bot]
parent 2e769d0911
commit 06fc009d19

View File

@@ -163,7 +163,7 @@ stdenv.mkDerivation rec {
postPatch = ''
# fix .desktop Exec field
substituteInPlace src/node/desktop/resources/freedesktop/rstudio.desktop.in \
--replace-fail "''${CMAKE_INSTALL_PREFIX}/rstudio" "rstudio"
--replace-fail "\''${CMAKE_INSTALL_PREFIX}/rstudio" "rstudio"
# set install path of freedesktop files
substituteInPlace src/node/desktop/CMakeLists.txt \