Skip to content

Commit

Permalink
Merge pull request #418 from tweag/fix-exec_constraints-nixpkgs-package
Browse files Browse the repository at this point in the history
Skip `exec_constraints` keyword arg for nixpkgs_package
  • Loading branch information
mergify[bot] authored Sep 21, 2023
2 parents 4306671 + a4405c3 commit 7e627d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/nixpkgs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,11 @@ def nixpkgs_package(
nix_file_deps = {dep: str(dep) for dep in nix_file_deps} if nix_file_deps else {}
else:
nix_file_deps = {dep: dep for dep in nix_file_deps} if nix_file_deps else {}

# remove exec_constraints from the kwargs since it's currently not supported by _nixpkgs_package
# see https://github.com/tweag/rules_nixpkgs/issues/416
kwargs.pop("exec_constraints", None)

kwargs.update(
name = name,
unmangled_name = name,
Expand Down

0 comments on commit 7e627d7

Please sign in to comment.