From 1ea903a74a0bec86c02e2837d324e6d4fa23dcbd Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 29 Dec 2010 10:38:44 +0000 Subject: [PATCH] gui: wrap 'gui' module to ensure that it has a valid $TK_LIBRARY path svn path=/nixpkgs/branches/stdenv-updates/; revision=25318 --- .../version-management/git-and-tools/git/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/git-and-tools/git/default.nix b/pkgs/applications/version-management/git-and-tools/git/default.nix index 4824f39a527e..5ed6275caf70 100644 --- a/pkgs/applications/version-management/git-and-tools/git/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git/default.nix @@ -84,7 +84,7 @@ stdenv.mkDerivation rec { + (if guiSupport then '' # Wrap Tcl/Tk programs - 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/${tk.libPrefix}" \