mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 15:58:36 +00:00
pkgs/applications/version-management/git-and-tools/git: be verbose when creating symlinks
The postInstall hook replaces identical copies of the same files in $out with symlinks. This patch changes the call to 'ln' to pass the '-v' flag so that we can see in the build log which files were replaced. svn path=/nixpkgs/trunk/; revision=25455
This commit is contained in:
parent
f989b670d6
commit
d0f409e009
|
@ -121,7 +121,7 @@ stdenv.mkDerivation rec {
|
|||
if [ -z "''\${seen["$sum"]}" ]; then
|
||||
seen["$sum"]="$f"
|
||||
else
|
||||
rm "$f"; ln -s "''\${seen["$sum"]}" "$f"
|
||||
rm "$f"; ln -v -s "''\${seen["$sum"]}" "$f"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue