rules_haskell icon indicating copy to clipboard operation
rules_haskell copied to clipboard

Skip import-dirs for empty libraries

Open aherrmann opened this issue 6 months ago • 0 comments

The issue was discovered on Windows where a Bazel Haskell build with Bazel 7 and rules_haskell 1.0 failed to build the package @stackage//:retry which depends on the empty package @stackage//:mtl-compat due to Cabal complaining about a missing _iface directory at the location configured by the import-dirs entry in the package-db. This change resolves that issue.

  • Skip import-dirs for empty libraries
  • fix indentation

aherrmann avatar Jun 19 '25 12:06 aherrmann