From 9ab8fa73753fa9b1f20eb27eaf526556bcd72429 Mon Sep 17 00:00:00 2001 From: Eman Resu <78693624+quatquatt@users.noreply.github.com> Date: Fri, 3 Jul 2026 19:00:46 -0400 Subject: [PATCH] check-meta: compare with null instead of using isNull --- pkgs/stdenv/generic/check-meta.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index 049be19b4e6a..cc51c3e3528e 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -495,7 +495,7 @@ let let values = attrValues cpeParts; in - (length values == 11) && !any isNull values; + (length values == 11) && !any (v: v == null) values; makeCPE = { part, @@ -687,7 +687,7 @@ let }: let withError = - if isNull error then + if error == null then true else let @@ -725,15 +725,15 @@ let invalid = checkValidity' attrs; problems = checkProblems attrs; in - if isNull invalid then - if isNull problems then + if invalid == null then + if problems == null then { valid = "yes"; handled = true; } else { - valid = if isNull problems.error then "warn" else "no"; + valid = if problems.error == null then "warn" else "no"; handled = handle { inherit attrs meta; inherit (problems) error warnings;