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
1 changed files with 2 additions and 2 deletions
|
@ -556,8 +556,8 @@ let
|
||||||
|
|
||||||
meta = checkMeta.commonMeta {
|
meta = checkMeta.commonMeta {
|
||||||
inherit validity attrs pos;
|
inherit validity attrs pos;
|
||||||
references = attrs.nativeBuildInputs ++ attrs.buildInputs
|
references = attrs.nativeBuildInputs or [] ++ attrs.buildInputs or []
|
||||||
++ attrs.propagatedNativeBuildInputs ++ attrs.propagatedBuildInputs;
|
++ attrs.propagatedNativeBuildInputs or [] ++ attrs.propagatedBuildInputs or [];
|
||||||
};
|
};
|
||||||
validity = checkMeta.assertValidity { inherit meta attrs; };
|
validity = checkMeta.assertValidity { inherit meta attrs; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue