All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
nixpkgs_package
now has a new optional argumentnixopts
allowing to pass extra arguments to thenix-build
calls
- The various
nix_*
rules are now only triggered when one of their dependency has changed and not each time theWORKSPACE
is modified - The
nixpkgs_cc_configure
macro is now much faster nixpkgs_cc_configure
is now a no-op on non nixpkgs-supported platforms instead of throwing an error- The
lib
filegroup provided in the defaultBUILD
file fornixpkgs_package
now also works on MacOS
nixpkgs_cc_configure
rule to tell Bazel to configure a toolchain from tools found in the given Nixpkgs repository, instead of from tools found in the ambient environment.nixpkgs_local_repository
rule. Works likenixpkgs_git_repository
but takes a checked-in Nix file or Nix expression as input.
- The
repository
attribute is no longer deprecated. Most rules support bothrepository
andrepositories
as attributes.
- Short repository labels work again. That is, you can say
repository = "@nixpkgs"
as a short form forrepository = "@nixpkgs//:default.nix"
.
repositories
is no longer a required argument tonixpkgs_package
.
nixpkgks_package
now supports referencing arbitrarily named nix files. A bug previously only made it possible to referencedefault.nix
files.
- The
path
attribute has been removed. SeeMigration
section inREADME.md
for instructions.
nixpkgs_packages
does not accept implicit<nixpkgs>
version. See #25.
sha256
attribute tonixpkgs_git_repository
.- Ability to point to a Nixpkgs fork via the new
remote
attribute tonixpkgs_git_repository
.