Skip to content

Commit

Permalink
Use named parameters
Browse files Browse the repository at this point in the history
Addressing review comment
#132 (comment)
  • Loading branch information
aherrmann committed Nov 10, 2020
1 parent 811bc12 commit b04fe7c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nixpkgs/nixpkgs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@ def _nixpkgs_package_impl(repository_ctx):
])

expr_args.extend([
expand_location(repository_ctx, opt, nix_file_deps, "nixopts")
expand_location(
repository_ctx = repository_ctx,
string = opt,
labels = nix_file_deps,
attr = "nixopts",
)
for opt in repository_ctx.attr.nixopts
])

Expand Down

0 comments on commit b04fe7c

Please sign in to comment.