pkgs/applications/version-management/git-and-tools/git: cosmetic changes to improve consistency

No functional change is intended.

svn path=/nixpkgs/trunk/; revision=25456
This commit is contained in:
Peter Simons 2011-01-07 11:04:09 +00:00
parent d0f409e009
commit e6e6f033ec

View File

@ -96,8 +96,7 @@ stdenv.mkDerivation rec {
done done
'' else '' '' else ''
# Don't wrap Tcl/Tk, replace them by notification scripts # Don't wrap Tcl/Tk, replace them by notification scripts
for prog in bin/gitk libexec/git-core/git-gui for prog in bin/gitk libexec/git-core/git-gui; do
do
notSupported "$out/$prog" \ notSupported "$out/$prog" \
"reinstall with config git = { guiSupport = true; } set" "reinstall with config git = { guiSupport = true; } set"
done done
@ -111,7 +110,7 @@ stdenv.mkDerivation rec {
# multiple times into $out so replace duplicates by symlinks because I # multiple times into $out so replace duplicates by symlinks because I
# haven't tested whether the nix distribution system can handle hardlinks. # haven't tested whether the nix distribution system can handle hardlinks.
# This reduces the size of $out from 115MB down to 13MB on x86_64-linux! # This reduces the size of $out from 115MB down to 13MB on x86_64-linux!
+ ''# + ''
declare -A seen declare -A seen
shopt -s globstar shopt -s globstar
for f in "$out/"**; do for f in "$out/"**; do
@ -124,7 +123,6 @@ stdenv.mkDerivation rec {
rm "$f"; ln -v -s "''\${seen["$sum"]}" "$f" rm "$f"; ln -v -s "''\${seen["$sum"]}" "$f"
fi fi
done done
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;