[Nix-dev] Re: Re: git-gui: require not using ttk

Yury G. Kudryashov urkud+nix at ya.ru
Wed May 26 19:35:22 CEST 2010


Marc Weber wrote:

> Anyway, this patch fixes it, git was not wrapped before.
> It wraps git instead of git-gui
>   -       for prog in bin/gitk libexec/git-core/git-gui
>   +       for prog in bin/gitk bin/git
>           do
>             wrapProgram "$out/$prog"                       \
>                         --set TK_LIBRARY "${tk}/lib/tk8.4" \
> 
> If there are no objections against this solution I'll commit soon.
I'd propose to change wrapProgram globally to move original program to 
.orig/originalName instead of .original-name-wrapped. In this case we shall 
not have such problems (progs assert that they know $0) in the future.




More information about the nix-dev mailing list