Merge pull request #296723 from hercules-ci/fix-mkDerivation-checkMetaRecursively

make-derivation.nix: Fix checkMetaRecursively
This commit is contained in:
Robert Hensing 2024-03-17 22:46:55 +01:00 committed by GitHub
commit 5bd006778f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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; };