Skip to content

Commit

Permalink
Merge pull request #206525 from ncfavier/stdenv-intersect-attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
ncfavier authored Dec 17, 2022
2 parents f6bdf43 + 0b06731 commit 1fe4ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/stdenv/generic/make-derivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ else let

checkedEnv =
let
overlappingNames = lib.intersectLists (lib.attrNames env) (lib.attrNames derivationArg);
overlappingNames = lib.attrNames (builtins.intersectAttrs env derivationArg);
in
assert lib.assertMsg envIsExportable
"When using structured attributes, `env` must be an attribute set of environment variables.";
Expand Down

0 comments on commit 1fe4ad3

Please sign in to comment.