Andreas Herrmann

Results 248 comments of Andreas Herrmann

> @aherrmann I see... so this would be something like this? Yes, exactly. :) > My only concern with `attribute_path` could be kind of unclear for new users that it...

Providing static versions of C library dependencies instead in case of `-prof -fexternal-interpreter` breaks another test-case, `//tests/template-haskell-with-cbits`. The difference is that in this test case the C library is a...

> However, I would argue that it should be considered an error to list hidden modules that do not exist. If we agree on this, the documentation should say so,...

@martyall Thank you for looking into this! > I'm not sure I see an example in the test folder which uses the `modules` attribute @martyall You can find examples using...

> You also get this panic if you try to reexport a module that doesn't exist. I think that we should open a separate issue to validate reexported modules rather...

This would be great to have. With more recent versions of rules_nodejs the following setup works. ``` http_archive( name = "build_bazel_rules_nodejs", sha256 = "cfc289523cf1594598215901154a6c2515e8bf3671fd708264a6f6aefe02bf39", urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.4.6/rules_nodejs-4.4.6.tar.gz"], ) nixpkgs_package( name...

> It looks like GitHub Actions provide Bazelisk, so we might want to switch to pinning Bazel version using Bazelisk and letting rules_nixpkgs fetch everything that's needed if --config=nix is...

> A more robust solution may be to change the `haskell_library/binary` rule so that they do generate an output with theses files if they exists. To clarify, Bazel has no...

Hi @brendanhay, thank you for the detailed report! Indeed, `nixpkgs_cc_configure` sets up these extra search paths for the CC toolchain. Though, it looks like Cabal and the configure script don't...

@brendanhay Thank you for sharing the steps taken. > Is there any direct way to debug that such an artefact contains/exposes the headers, just to verify? Perhaps [Starlark Queries](https://docs.bazel.build/versions/main/cquery.html#defining-the-output-format-using-starlark) could...