You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If some config file in a package database contains references to non-existent directories,
calling `pkgdb_to_bzl.py` might fail with an error:
```
ERROR: An error occurred during the fetch of repository 'rules_haskell_ghc_nixpkgs_haskell_toolchain':
Traceback (most recent call last):
File "/private/var/tmp/_bazel_runner/11ad2da2a0847baf09d91bfe3a37fb9a/external/rules_haskell/haskell/nixpkgs.bzl", line 69, column 39, in _ghc_nixpkgs_haskell_toolchain_impl
toolchain_libraries = pkgdb_to_bzl(repository_ctx, paths, "lib/{}".format(ghc_name))["file_content"]
File "/private/var/tmp/_bazel_runner/11ad2da2a0847baf09d91bfe3a37fb9a/external/rules_haskell/haskell/private/pkgdb_to_bzl.bzl", line 21, column 13, in pkgdb_to_bzl
fail("Error executing pkgdb_to_bzl.py: {stderr}".format(stderr = result.stderr))
Error in fail: Error executing pkgdb_to_bzl.py: WARN: could not handle /usr/local/opt/icu4c/include
Traceback (most recent call last):
File "/private/var/tmp/_bazel_runner/11ad2da2a0847baf09d91bfe3a37fb9a/external/rules_haskell/haskell/private/pkgdb_to_bzl.py", line 226, in <module>
includes = [
^
File "/private/var/tmp/_bazel_runner/11ad2da2a0847baf09d91bfe3a37fb9a/external/rules_haskell/haskell/private/pkgdb_to_bzl.py", line 227, in <listcomp>
"/".join([repo_dir, path_to_label(include_dir, pkgroot, output)])
TypeError: sequence item 1: expected str instance, NoneType found
```
0 commit comments