There was an error while loading. Please reload this page.
1 parent 8cb8ed6 commit f5b2fe8Copy full SHA for f5b2fe8
1 file changed
haskell/c2hs.bzl
@@ -86,7 +86,7 @@ def _c2hs_library_impl(ctx):
86
(
87
"""
88
export PATH=$PATH:{mingw_bin}
89
- """.format(mingw_bin = paths.dirname(cc.tools.cc)) if hs.toolchain.is_windows else ""
+ """.format(mingw_bin = paths.dirname(cc.tools.cc.executable.path)) if hs.toolchain.is_windows else ""
90
) +
91
92
# Include libdir in include path just like hsc2hs does.
0 commit comments