Skip to content

Commit

Permalink
Merge pull request #488 from tweag/release-0.11.0
Browse files Browse the repository at this point in the history
Release 0.11.0
  • Loading branch information
mergify[bot] authored Mar 27, 2024
2 parents 024e571 + 30c69d8 commit 65a48d2
Show file tree
Hide file tree
Showing 13 changed files with 59 additions and 18 deletions.
43 changes: 42 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion core/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
2 changes: 1 addition & 1 deletion docs/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
2 changes: 1 addition & 1 deletion registry/modules/rules_nixpkgs_core/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"name": "Andreas Herrmann"
}
],
"versions": ["0.10.0"],
"versions": ["0.11.0"],
"yanked_versions": []
}
4 changes: 2 additions & 2 deletions toolchains/cc/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
4 changes: 2 additions & 2 deletions toolchains/go/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
4 changes: 2 additions & 2 deletions toolchains/java/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
4 changes: 2 additions & 2 deletions toolchains/nodejs/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
4 changes: 2 additions & 2 deletions toolchains/posix/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
4 changes: 2 additions & 2 deletions toolchains/python/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
4 changes: 2 additions & 2 deletions toolchains/rust/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit 65a48d2

Please sign in to comment.