mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
rstudio: fix .desktop file by properly escaping use of cmake variable
(cherry picked from commit a22a61f6bc)
This commit is contained in:
committed by
github-actions[bot]
parent
2e769d0911
commit
06fc009d19
@@ -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