Revert "git: also patch the ls command for git-core scripts"

Prevent the command patching from breaking the definition of
__git_complete_revlist_file, where there's a local varible named "ls"

This reverts commit 820dc2a560.
This commit is contained in:
Yueh-Shun Li 2023-05-02 19:34:34 +00:00
parent 668b20d59d
commit b03cc9ce11

View File

@ -190,8 +190,7 @@ stdenv.mkDerivation (finalAttrs: {
@a=(
'${gnugrep}/bin/grep', '${gnused}/bin/sed', '${gawk}/bin/awk',
'${coreutils}/bin/cut', '${coreutils}/bin/basename', '${coreutils}/bin/dirname',
'${coreutils}/bin/wc', '${coreutils}/bin/tr',
'${coreutils}/bin/ls'
'${coreutils}/bin/wc', '${coreutils}/bin/tr'
${lib.optionalString perlSupport ", '${perlPackages.perl}/bin/perl'"}
);
}