lol

Merge pull request #146847 from r-burns/inspect-exec-format

lib/systems: add exec format inspection attrs

authored by

Ryan Burns and committed by
GitHub
1bf1c7a2 51b86cad

+3
+3
lib/systems/inspect.nix
··· 98 98 { cpu = { family = "riscv"; }; } 99 99 { cpu = { family = "x86"; }; } 100 100 ]; 101 + 102 + isElf = { kernel.execFormat = execFormats.elf; }; 103 + isMacho = { kernel.execFormat = execFormats.macho; }; 101 104 }; 102 105 103 106 # given two patterns, return a pattern which is their logical AND.