mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
make-derivation.nix: Fix checkMetaRecursively
Oddly, I can't reproduce the error, but this change will make it more robust. See https://github.com/NixOS/nixpkgs/pull/295378#issuecomment-2002094487
This commit is contained in:
parent
8437d13b56
commit
05f4b7b46d
@ -556,8 +556,8 @@ let
|
||||
|
||||
meta = checkMeta.commonMeta {
|
||||
inherit validity attrs pos;
|
||||
references = attrs.nativeBuildInputs ++ attrs.buildInputs
|
||||
++ attrs.propagatedNativeBuildInputs ++ attrs.propagatedBuildInputs;
|
||||
references = attrs.nativeBuildInputs or [] ++ attrs.buildInputs or []
|
||||
++ attrs.propagatedNativeBuildInputs or [] ++ attrs.propagatedBuildInputs or [];
|
||||
};
|
||||
validity = checkMeta.assertValidity { inherit meta attrs; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user