diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-01-10 01:11:23 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-01-10 01:11:23 +0100 |
commit | c8d05d8abadb244bc4e6cee75d450978d1f09a61 (patch) | |
tree | 2d710425b8e3f78e84d5e46abb3397cb1b34ec18 /nixpkgs/lib/systems/inspect.nix | |
parent | ad899504860973e98351c922ecb934595f2c0f19 (diff) | |
parent | 0ed96eed101462bf05e1e99e1bbadcd49b4eb302 (diff) | |
download | nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.gz nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.bz2 nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.lz nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.xz nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.zst nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.zip |
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
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. |