mercurial: fix quoting with guiSupport for makeWrapper

Does not rebuild `mercurial`, only `mercurialFull`.

Fixes #33625 after #31497
This commit is contained in:
Orivej Desh 2018-01-09 00:24:09 +00:00
parent fe05782a4f
commit 2e285a3e6c

View File

@ -34,9 +34,9 @@ in python2Packages.buildPythonApplication {
hgk=$out/lib/${python.libPrefix}/site-packages/hgext/hgk.py hgk=$out/lib/${python.libPrefix}/site-packages/hgext/hgk.py
EOF EOF
# setting HG so that hgk can be run itself as well (not only hg view) # setting HG so that hgk can be run itself as well (not only hg view)
WRAP_TK=" --set TK_LIBRARY \"${tk}/lib/${tk.libPrefix}\" WRAP_TK=" --set TK_LIBRARY ${tk}/lib/${tk.libPrefix}
--set HG \"$out/bin/hg\" --set HG $out/bin/hg
--prefix PATH : \"${tk}/bin\" " --prefix PATH : ${tk}/bin "
'') + '') +
'' ''
for i in $(cd $out/bin && ls); do for i in $(cd $out/bin && ls); do