tweag/rules_nixpkgs (rules_nixpkgs_)
### [`v0.12.0`](https://togithub.com/tweag/rules_nixpkgs/releases/tag/v0.12.0)
[Compare Source](https://togithub.com/tweag/rules_nixpkgs/compare/v0.11.1...v0.12.0)
##### Using Bzlmod with Bazel 6
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
##### For the core module
```starlark
bazel_dep(name = "rules_nixpkgs_core", version = "0.12.0")
```
##### For the nodejs module
```starlark
bazel_dep(name = "rules_nixpkgs_nodejs", version = "0.12.0")
```
##### Using WORKSPACE
Paste this snippet into your `WORKSPACE.bazel` file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_tweag_rules_nixpkgs",
sha256 = "1adb04dc0416915fef427757f4272c4f7dacefeceeefc50f683aec7f7e9b787a",
strip_prefix = "rules_nixpkgs-0.12.0",
urls = ["https://github.com/tweag/rules_nixpkgs/releases/download/v0.12.0/rules_nixpkgs-0.12.0.tar.gz"],
)
load("@io_tweag_rules_nixpkgs//nixpkgs:repositories.bzl", "rules_nixpkgs_dependencies")
rules_nixpkgs_dependencies()
load("@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl", "nixpkgs_git_repository", "nixpkgs_package", "nixpkgs_cc_configure")
load("@io_tweag_rules_nixpkgs//nixpkgs:toolchains/go.bzl", "nixpkgs_go_configure") # optional
```
##### [0.12.0] - 2024-07-12
[0.12.0]: https://togithub.com/tweag/rules_nixpkgs/compare/v0.11.1...v0.12.0
##### Added
- Make the C++ -std flag configurable. See [#557].
- Add module extension for nodejs toolchain. See [#505].
- Add bzlmod version of example to the guide. See [#556].
##### Changed
- Update to Bazel 6. See [#503].
- Update the rules_nixpkgs guide. See [#554].
##### Fixed
- Make `rules_nixpkgs_java` depend on `remote_java_tools` properly. See [#497].
- Catch case in which find_children is called on an empty dir by [@numine777](https://togithub.com/numine777) in [#526]
- Make `nixpkgs_java_configure` work with Bazel 7. See [#499].
- Fix `java_test` failure with JDK 17+. See [#553].
- Fix CPU detection on Darwin with Bazel 7. See [#554].
- Fix cc toolchain on Darwin using nixpkgs >= 23.11. See [#543].
[#497]: https://togithub.com/tweag/rules_nixpkgs/pull/497
[#499]: https://togithub.com/tweag/rules_nixpkgs/pull/499
[#503]: https://togithub.com/tweag/rules_nixpkgs/pull/503
[#505]: https://togithub.com/tweag/rules_nixpkgs/pull/505
[#526]: https://togithub.com/tweag/rules_nixpkgs/pull/526
[#543]: https://togithub.com/tweag/rules_nixpkgs/pull/543
[#553]: https://togithub.com/tweag/rules_nixpkgs/pull/553
[#554]: https://togithub.com/tweag/rules_nixpkgs/pull/554
[#556]: https://togithub.com/tweag/rules_nixpkgs/pull/556
[#557]: https://togithub.com/tweag/rules_nixpkgs/pull/557
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v0.11.1
->v0.12.0
Release Notes
tweag/rules_nixpkgs (rules_nixpkgs_)
### [`v0.12.0`](https://togithub.com/tweag/rules_nixpkgs/releases/tag/v0.12.0) [Compare Source](https://togithub.com/tweag/rules_nixpkgs/compare/v0.11.1...v0.12.0) ##### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ##### For the core module ```starlark bazel_dep(name = "rules_nixpkgs_core", version = "0.12.0") ``` ##### For the nodejs module ```starlark bazel_dep(name = "rules_nixpkgs_nodejs", version = "0.12.0") ``` ##### Using WORKSPACE Paste this snippet into your `WORKSPACE.bazel` file: ```starlark load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_tweag_rules_nixpkgs", sha256 = "1adb04dc0416915fef427757f4272c4f7dacefeceeefc50f683aec7f7e9b787a", strip_prefix = "rules_nixpkgs-0.12.0", urls = ["https://github.com/tweag/rules_nixpkgs/releases/download/v0.12.0/rules_nixpkgs-0.12.0.tar.gz"], ) load("@io_tweag_rules_nixpkgs//nixpkgs:repositories.bzl", "rules_nixpkgs_dependencies") rules_nixpkgs_dependencies() load("@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl", "nixpkgs_git_repository", "nixpkgs_package", "nixpkgs_cc_configure") load("@io_tweag_rules_nixpkgs//nixpkgs:toolchains/go.bzl", "nixpkgs_go_configure") # optional ``` ##### [0.12.0] - 2024-07-12 [0.12.0]: https://togithub.com/tweag/rules_nixpkgs/compare/v0.11.1...v0.12.0 ##### Added - Make the C++ -std flag configurable. See [#557]. - Add module extension for nodejs toolchain. See [#505]. - Add bzlmod version of example to the guide. See [#556]. ##### Changed - Update to Bazel 6. See [#503]. - Update the rules_nixpkgs guide. See [#554]. ##### Fixed - Make `rules_nixpkgs_java` depend on `remote_java_tools` properly. See [#497]. - Catch case in which find_children is called on an empty dir by [@numine777](https://togithub.com/numine777) in [#526] - Make `nixpkgs_java_configure` work with Bazel 7. See [#499]. - Fix `java_test` failure with JDK 17+. See [#553]. - Fix CPU detection on Darwin with Bazel 7. See [#554]. - Fix cc toolchain on Darwin using nixpkgs >= 23.11. See [#543]. [#497]: https://togithub.com/tweag/rules_nixpkgs/pull/497 [#499]: https://togithub.com/tweag/rules_nixpkgs/pull/499 [#503]: https://togithub.com/tweag/rules_nixpkgs/pull/503 [#505]: https://togithub.com/tweag/rules_nixpkgs/pull/505 [#526]: https://togithub.com/tweag/rules_nixpkgs/pull/526 [#543]: https://togithub.com/tweag/rules_nixpkgs/pull/543 [#553]: https://togithub.com/tweag/rules_nixpkgs/pull/553 [#554]: https://togithub.com/tweag/rules_nixpkgs/pull/554 [#556]: https://togithub.com/tweag/rules_nixpkgs/pull/556 [#557]: https://togithub.com/tweag/rules_nixpkgs/pull/557Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.