diff --git a/pkgs/build-support/setup-hooks/no-broken-symlinks.sh b/pkgs/build-support/setup-hooks/no-broken-symlinks.sh index 6609c08e8436..e2694c2b7bde 100644 --- a/pkgs/build-support/setup-hooks/no-broken-symlinks.sh +++ b/pkgs/build-support/setup-hooks/no-broken-symlinks.sh @@ -51,10 +51,10 @@ noBrokenSymlinks() { fi if [[ $path == "$symlinkTarget" ]]; then - nixErrorLog "the symlink $path is reflexive $symlinkTarget" + nixErrorLog "the symlink $path is reflexive" numReflexiveSymlinks+=1 elif [[ ! -e $symlinkTarget ]]; then - nixErrorLog "the symlink $path points to a missing target $symlinkTarget" + nixErrorLog "the symlink $path points to a missing target: $symlinkTarget" numDanglingSymlinks+=1 else nixDebugLog "the symlink $path is irreflexive and points to a target which exists"