git: Fix git-gui to work on Catalina
The existing post-install was not successfully patching the git-gui script, and thus was invoking the packaged osx app which uses the system tk, which is too old to work (and is no longer supported by Apple anyway).
This commit is contained in:
parent
9a0e92512c
commit
1b6ef1268f
|
@ -234,6 +234,7 @@ stdenv.mkDerivation {
|
|||
for prog in bin/gitk libexec/git-core/{git-gui,git-citool,git-gui--askpass}; do
|
||||
sed -i -e "s|exec 'wish'|exec '${tk}/bin/wish'|g" \
|
||||
-e "s|exec wish|exec '${tk}/bin/wish'|g" \
|
||||
-e "s|exec \"[^\"]*/MacOS/Wish\"|exec '${tk}/bin/wish'|g" \
|
||||
"$out/$prog"
|
||||
done
|
||||
ln -s $out/share/git/contrib/completion/git-completion.bash $out/share/bash-completion/completions/gitk
|
||||
|
|
Loading…
Reference in a new issue