From 3dcf921c7b1c45ee9b2d13c42893e7107ea7b982 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Mon, 29 Sep 2025 16:00:32 -0300 Subject: [PATCH] lib.systems: add isPE --- lib/systems/inspect.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index ad6ff2b380a8..c1876093600d 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -437,6 +437,9 @@ rec { isMacho = { kernel.execFormat = execFormats.macho; }; + isPE = { + kernel.execFormat = execFormats.pe; + }; }; # given two patterns, return a pattern which is their logical AND.