rules_haskell icon indicating copy to clipboard operation
rules_haskell copied to clipboard

Do not depend on system tools on Darwin

Open avdv opened this issue 1 year ago • 2 comments

Our cc wrapper was always using the system tools from a fixed location on Darwin, which is not hermetic (and can lead to problems when using nixpkgs) and requires the Xcode command line tools to be installed.

Apply the same heuristic as for the otool and install_name tool for the haskell toolchain and assume the tools are available at the same location as the ar binary.

Depends on https://github.com/tweag/rules_nixpkgs/pull/479 and depends on #2119

avdv avatar Mar 19 '24 12:03 avdv

@mergifyio rebase

avdv avatar Apr 30 '24 18:04 avdv

rebase

✅ Branch has been successfully rebased

mergify[bot] avatar Apr 30 '24 18:04 mergify[bot]