mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
[Backport release-25.05] rstudio: fix .desktop file by properly escaping use of cmake variable (#410472)
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user