summaryrefslogtreecommitdiff
path: root/lib/systems
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2025-09-29 16:00:32 -0300
committerDavid McFarland <corngood@gmail.com>2025-12-05 13:40:49 -0400
commit3dcf921c7b1c45ee9b2d13c42893e7107ea7b982 (patch)
tree430189546cfcde9bcc967aa5fc0a35eba7b1e0cc /lib/systems
parentpython3Packages.ytmusicapi: 1.11.2 -> 1.11.3 (#467085) (diff)
downloadnixpkgs-3dcf921c7b1c45ee9b2d13c42893e7107ea7b982.tar.gz
lib.systems: add isPE
Diffstat (limited to 'lib/systems')
-rw-r--r--lib/systems/inspect.nix3
1 files changed, 3 insertions, 0 deletions
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.