backport: Find build-tool installed programs before programs in path (#9767)
commitce72f63b6565e692727d21f0a987d92dd67b14db
authorRodrigo Mesquita <rodrigo.m.mesquita@gmail.com>
Mon, 11 Mar 2024 12:23:34 +0000 (11 12:23 +0000)
committerGitHub <noreply@github.com>
Mon, 11 Mar 2024 12:23:34 +0000 (11 13:23 +0100)
tree52721b604a09abaff7b8424419b86d0c57d6a213
parent3f82401de6126f1f2e1755481d444a9d734bf854
backport: Find build-tool installed programs before programs in path (#9767)

* Find build-tool installed programs before programs in path (BP)

A backport of 443c8906581e4a985185a9a32de2e6c7cc63dde1 (#9762)

---------

Co-authored-by: brandon s allbery kf8nh <allbery.b@gmail.com>
Co-authored-by: Gershom Bazerman <gershom@arista.com>
13 files changed:
Cabal/src/Distribution/Simple/Configure.hs
cabal-install/src/Distribution/Client/ProjectPlanning.hs
cabal-testsuite/PackageTests/Regression/T9756/OK.hs [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/cabal-bug-build-tool.cabal [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/cabal.out [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/cabal.project [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/cabal.test.hs [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/repo/mybuilder-0.1.0.0/CHANGELOG.md [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/repo/mybuilder-0.1.0.0/app/Main.hs [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/repo/mybuilder-0.1.0.0/mybuilder.cabal [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/repo/mybuilder-0.2.0.0/CHANGELOG.md [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/repo/mybuilder-0.2.0.0/app/Main.hs [new file with mode: 0644]
cabal-testsuite/PackageTests/Regression/T9756/repo/mybuilder-0.2.0.0/mybuilder.cabal [new file with mode: 0644]