diff options
Diffstat (limited to 'nixpkgs/lib/systems/inspect.nix')
-rw-r--r-- | nixpkgs/lib/systems/inspect.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixpkgs/lib/systems/inspect.nix b/nixpkgs/lib/systems/inspect.nix index 073df78797c7..5e5e92699e44 100644 --- a/nixpkgs/lib/systems/inspect.nix +++ b/nixpkgs/lib/systems/inspect.nix @@ -98,6 +98,9 @@ rec { { cpu = { family = "riscv"; }; } { cpu = { family = "x86"; }; } ]; + + isElf = { kernel.execFormat = execFormats.elf; }; + isMacho = { kernel.execFormat = execFormats.macho; }; }; # given two patterns, return a pattern which is their logical AND. |