Release 0.8.0
0.8.0 - 2021-02-11
Added
- Bazel Skylib is now included as a dependency on
rules_nixpkgs_dependencies
.
See #125. nixpkgs_python_configure
now exposes thequiet
attribute for the
underlyingnispkgs_package
.
See #131.- The default
BUILD
file ofnixpkgs_package
now finds more kinds of C/C++
header files in theinclude
target.
See #137.
Changed
- The implementation of
nixpkgs_cc_configure
has been replaced by a more
hermetic version that no longer uses Bazel's builtin autodection toolchain
under the hood. The previous behavior is now available under the name
nixpkgs_cc_configure_deprecated
, if required.
See #128. - The values in the
nixopts
attribute tonixpkgs_package
are now subject to
location expansion. Any instance of$(location LABEL)
in thenixopts
attribute will be expanded to the file path of the file referenced by
LABEL
. To pass a plain$
to Nix it must be escaped as$$
.
See #132.
Deprecated
- The old implementation of
nixpkgs_cc_configure
, now available under the
namenixpkgs_cc_configure_deprecated
, has been marked as deprecated in
favor ofnixpkgs_cc_configure
and will be replaced by it in future.
See #128.
Fixed
- Incorrect label contruction for Nix file dependencies.
See #124.
WORKSPACE setup
http_archive(
name = "io_tweag_rules_nixpkgs",
sha256 = "7aee35c95251c1751e765f7da09c3bb096d41e6d6dca3c72544781a5573be4aa",
strip_prefix = "rules_nixpkgs-0.8.0",
urls = ["https://github.com/tweag/rules_nixpkgs/archive/refs/tags/v0.8.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")