Commit 05f4b7b4 authored by Robert Hensing's avatar Robert Hensing
Browse files

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
parent 8437d13b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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; };