diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f44e76d4..3e2499ad9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,48 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). ## [Unreleased] -[Unreleased]: https://github.com/tweag/rules_nixpkgs/compare/v0.10.0...HEAD +[Unreleased]: https://github.com/tweag/rules_nixpkgs/compare/v0.11.0...HEAD + +## [0.11.0] - 2024-03-27 + +[0.11.0]: https://github.com/tweag/rules_nixpkgs/compare/v0.10.0...v0.11.0 + +### Added + +- support for Go 1.21 and newer. See [#417]. +- support for `rules_go` 0.42.0 and newer. See [#422]. +- `nixpkgs_flake_package` now works even when the experimental features [`nix-command`](https://nixos.org/manual/nix/unstable/contributing/experimental-features.html#xp-feature-nix-command) and [`flakes`](https://nixos.org/manual/nix/unstable/contributing/experimental-features.html#xp-feature-flakes) are disabled. See [#465]. +- `sigtool` and `codesign` for the `cc` toolchain on macOS. See [#489]. + +### Changed + +- `nixpkgs_flake_package` now only copies the directory containing the `nix_flake_file`, including any subdirectories, to the nix store. `nixpkgs_flake_package` would previously copy the entire containing Git repository to the nix store if `nix_flake_file` was contained in a Git repository. This is achieved via nix' [`path:` syntax](https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake#types). This is a breaking change for `nix_flake_file`s inside a subdirectory of a Git repository that references a path outside its subdirectory. See [#450]. + +### Fixed + +- Build failure when using `-fsanitize=address` with the `cc` toolchain. See [#437]. +- The Go toolchain now disables the `GOEXPERIMENT` `CoverageRedesign` following the example of `rules_go` and. See [#440]. +- NixOS dynamic loader issue for Java tools like `ijar` and `singlejar`. See [#451]. +- `nixpkgs_cc_configuren` with Bazel 7 was causing a `syntax error at '%': expected expression`" because of a missingtemplate tsubstitution for `conly_flags`. See [#466]. +- Build failures with linker errors caused by a missing `-F${SystemConfiguration}/Library/Frameworks` `cc` command line option. See [#475]. +- Processes getting killed on macOS during linking caused by using some tools form `darwin.cctools` instead of `stdenv.cc`. See [#479]. + +### Removed + +- Python 2 support has been removed. See [#486]. + +[#486]: https://github.com/tweag/rules_nixpkgs/pull/486 +[#479]: https://github.com/tweag/rules_nixpkgs/pull/479 +[#475]: https://github.com/tweag/rules_nixpkgs/pull/475 +[#465]: https://github.com/tweag/rules_nixpkgs/pull/465 +[#466]: https://github.com/tweag/rules_nixpkgs/pull/466 +[#451]: https://github.com/tweag/rules_nixpkgs/pull/451 +[#450]: https://github.com/tweag/rules_nixpkgs/pull/450 +[#440]: https://github.com/tweag/rules_nixpkgs/pull/440 +[#422]: https://github.com/tweag/rules_nixpkgs/pull/422 +[#417]: https://github.com/tweag/rules_nixpkgs/pull/417 +[#437]: https://github.com/tweag/rules_nixpkgs/pull/437 +[#489]: https://github.com/tweag/rules_nixpkgs/pull/489 ## [0.10.0] - 2023-10-18 diff --git a/core/MODULE.bazel b/core/MODULE.bazel index 52953eca1..654cedf3c 100644 --- a/core/MODULE.bazel +++ b/core/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "rules_nixpkgs_core", - version = "0.10.0", + version = "0.11.0", ) bazel_dep(name = "platforms", version = "0.0.4") diff --git a/docs/MODULE.bazel b/docs/MODULE.bazel index b61e2d538..741c98358 100644 --- a/docs/MODULE.bazel +++ b/docs/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "rules_nixpkgs_docs", - version = "0.10.0", + version = "0.11.0", ) bazel_dep(name = "rules_sh", version = "0.3.0") diff --git a/registry/modules/rules_nixpkgs_core/0.10.0/MODULE.bazel b/registry/modules/rules_nixpkgs_core/0.11.0/MODULE.bazel similarity index 100% rename from registry/modules/rules_nixpkgs_core/0.10.0/MODULE.bazel rename to registry/modules/rules_nixpkgs_core/0.11.0/MODULE.bazel diff --git a/registry/modules/rules_nixpkgs_core/0.10.0/source.json b/registry/modules/rules_nixpkgs_core/0.11.0/source.json similarity index 100% rename from registry/modules/rules_nixpkgs_core/0.10.0/source.json rename to registry/modules/rules_nixpkgs_core/0.11.0/source.json diff --git a/registry/modules/rules_nixpkgs_core/metadata.json b/registry/modules/rules_nixpkgs_core/metadata.json index 8f997ed81..eb65ca26f 100644 --- a/registry/modules/rules_nixpkgs_core/metadata.json +++ b/registry/modules/rules_nixpkgs_core/metadata.json @@ -12,6 +12,6 @@ "name": "Andreas Herrmann" } ], - "versions": ["0.10.0"], + "versions": ["0.11.0"], "yanked_versions": [] } diff --git a/toolchains/cc/MODULE.bazel b/toolchains/cc/MODULE.bazel index 75505dbb9..e1fdd6a04 100644 --- a/toolchains/cc/MODULE.bazel +++ b/toolchains/cc/MODULE.bazel @@ -1,8 +1,8 @@ module( name = "rules_nixpkgs_cc", - version = "0.10.0", + version = "0.11.0", ) -bazel_dep(name = "rules_nixpkgs_core", version = "0.10.0") +bazel_dep(name = "rules_nixpkgs_core", version = "0.11.0") bazel_dep(name = "bazel_skylib", version = "1.0.3") bazel_dep(name = "rules_cc", version = "0.0.1") diff --git a/toolchains/go/MODULE.bazel b/toolchains/go/MODULE.bazel index c79b46e09..a5c003bc0 100644 --- a/toolchains/go/MODULE.bazel +++ b/toolchains/go/MODULE.bazel @@ -1,9 +1,9 @@ module( name = "rules_nixpkgs_go", - version = "0.10.0", + version = "0.11.0", ) -bazel_dep(name = "rules_nixpkgs_core", version = "0.10.0") +bazel_dep(name = "rules_nixpkgs_core", version = "0.11.0") bazel_dep(name = "rules_go", repo_name = "io_bazel_rules_go", version = "0.39.1") bazel_dep(name = "bazel_skylib", version = "1.0.3") bazel_dep(name = "platforms", version = "0.0.4") diff --git a/toolchains/java/MODULE.bazel b/toolchains/java/MODULE.bazel index b7b6356ec..24bce9a2b 100644 --- a/toolchains/java/MODULE.bazel +++ b/toolchains/java/MODULE.bazel @@ -1,8 +1,8 @@ module( name = "rules_nixpkgs_java", - version = "0.10.0", + version = "0.11.0", ) -bazel_dep(name = "rules_nixpkgs_core", version = "0.10.0") +bazel_dep(name = "rules_nixpkgs_core", version = "0.11.0") bazel_dep(name = "rules_java", version = "6.5.2") bazel_dep(name = "bazel_skylib", version = "1.0.3") diff --git a/toolchains/nodejs/MODULE.bazel b/toolchains/nodejs/MODULE.bazel index b0d67c626..4affeb7b1 100644 --- a/toolchains/nodejs/MODULE.bazel +++ b/toolchains/nodejs/MODULE.bazel @@ -1,8 +1,8 @@ module( name = "rules_nixpkgs_nodejs", - version = "0.10.0", + version = "0.11.0", ) -bazel_dep(name = "rules_nixpkgs_core", version = "0.10.0") +bazel_dep(name = "rules_nixpkgs_core", version = "0.11.0") bazel_dep(name = "rules_nodejs", version = "5.5.3") bazel_dep(name = "bazel_skylib", version = "1.0.3") diff --git a/toolchains/posix/MODULE.bazel b/toolchains/posix/MODULE.bazel index 2fedb1687..d298e5dc5 100644 --- a/toolchains/posix/MODULE.bazel +++ b/toolchains/posix/MODULE.bazel @@ -1,8 +1,8 @@ module( name = "rules_nixpkgs_posix", - version = "0.10.0", + version = "0.11.0", ) -bazel_dep(name = "rules_nixpkgs_core", version = "0.10.0") +bazel_dep(name = "rules_nixpkgs_core", version = "0.11.0") bazel_dep(name = "rules_sh", version = "0.3.0") bazel_dep(name = "bazel_skylib", version = "1.0.3") diff --git a/toolchains/python/MODULE.bazel b/toolchains/python/MODULE.bazel index 4b59c3622..39f387e67 100644 --- a/toolchains/python/MODULE.bazel +++ b/toolchains/python/MODULE.bazel @@ -1,7 +1,7 @@ module( name = "rules_nixpkgs_python", - version = "0.10.0", + version = "0.11.0", ) -bazel_dep(name = "rules_nixpkgs_core", version = "0.10.0") +bazel_dep(name = "rules_nixpkgs_core", version = "0.11.0") bazel_dep(name = "bazel_skylib", version = "1.0.3") diff --git a/toolchains/rust/MODULE.bazel b/toolchains/rust/MODULE.bazel index 6d7b91a55..d3131b6d9 100644 --- a/toolchains/rust/MODULE.bazel +++ b/toolchains/rust/MODULE.bazel @@ -1,8 +1,8 @@ module( name = "rules_nixpkgs_rust", - version = "0.10.0", + version = "0.11.0", ) -bazel_dep(name = "rules_nixpkgs_core", version = "0.10.0") +bazel_dep(name = "rules_nixpkgs_core", version = "0.11.0") bazel_dep(name = "bazel_skylib", version = "1.5.0") bazel_dep(name = "rules_rust", version = "0.35.0")