mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
rstudio: fix .desktop file by properly escaping use of cmake variable (#410461)
This commit is contained in:
commit
202e215081
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ stdenv.mkDerivation rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# fix .desktop Exec field
|
# fix .desktop Exec field
|
||||||
substituteInPlace src/node/desktop/resources/freedesktop/rstudio.desktop.in \
|
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
|
# set install path of freedesktop files
|
||||||
substituteInPlace src/node/desktop/CMakeLists.txt \
|
substituteInPlace src/node/desktop/CMakeLists.txt \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue