From 9ea88ca354f8c162b22cf7baf6f714d708eca585 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Wed, 22 Oct 2025 21:11:19 +0100 Subject: [PATCH] ci/eval/compare/maintainers: simplify `meta.position` predicate --- ci/eval/compare/maintainers.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/eval/compare/maintainers.nix b/ci/eval/compare/maintainers.nix index 854c1f730bda..9f19a4c382eb 100644 --- a/ci/eval/compare/maintainers.nix +++ b/ci/eval/compare/maintainers.nix @@ -73,7 +73,7 @@ let (lib.unsafeGetAttrPos "pname" drv) (lib.unsafeGetAttrPos "version" drv) ] - ++ lib.optionals (drv.meta.position or null != null) [ + ++ lib.optionals (drv ? meta.position) [ # Use ".meta.position" for cases when most of the package is # defined in a "common" section and the only place where # reference to the file with a derivation the "pos"