Ben Radford

Results 6 issues of Ben Radford

This is an attempt to improve the MacOS performance issue described in #256 by adding a `cp_many` function to `util.bzl`. Instead of writing each file with `repository_ctx.file` and invoking `chmod`...

**Is your feature request related to a problem? Please describe.** In principle cross-compilation is already supported thanks to the nixpkgs `system` and `targetSystem` parameters. However this requires the user to...

P2
type: feature request

**Describe the bug** See [this comment](https://github.com/tweag/rules_nixpkgs/issues/368#issuecomment-1508349146) for details, but essentially by passing `attribute_path` we go down the `ccTypeExpression` path which overrides the [custom nix expression for Darwin](https://github.com/tweag/rules_nixpkgs/blob/f80a3b5bd19efa353638cdb0236f6a951cac02b7/toolchains/cc/cc.nix#L54-L68) which handles the...

P2
type: bug

**Is your feature request related to a problem? Please describe.** With the Nix ecosystem moving towards [flakes](https://nixos.wiki/wiki/Flakes) we should start thinking about what this means for rules_nixpkgs. Flakes are still...

P3
type: feature request

**Is your feature request related to a problem? Please describe.** When a Nix+Bazel project needs to depend on language specific third-party packages, it is not always clear how to do...

P3
type: feature request

It's a bit unusual to have function or rule docstrings start with a heading like that. rules_nixpkgs generates such headings by placing them into the module docstring, e.g. [here](https://github.com/tweag/rules_nixpkgs/blob/fec998bbe956ea4c40c19234a258b6bd06be605c/nixpkgs/nixpkgs.bzl#L39). Could...