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

Peter Simons simons at cryp.to
Thu May 27 00:02:18 CEST 2010


Hi David,

very nice patch, thank you for your efforts!

 > +         wrapProgram --keep-name "$out/$prog"           \
 >                       --set TK_LIBRARY "${tk}/lib/tk8.4" \
 >                       --prefix PATH : "${tk}/bin"

Hard-coding the Tk version number in the expression for Git doesn't feel quite
right. Would it be possible to use pattern matching, i.e. ${tk}/lib/tk* to
determine the path for TK_LIBRARY?

Take care,
Peter




More information about the nix-dev mailing list