lib/systems: inherit from lib.systems.parse in lib/systems/inspect.nix
This commit is contained in:
parent
123a2f0fcc
commit
af634f14ba
|
@ -1,10 +1,19 @@
|
||||||
{ lib }:
|
{ lib }:
|
||||||
with lib.systems.parse;
|
|
||||||
with lib.attrsets;
|
with lib.attrsets;
|
||||||
with lib.lists;
|
with lib.lists;
|
||||||
|
|
||||||
let abis_ = abis; in
|
let
|
||||||
let abis = lib.mapAttrs (_: abi: builtins.removeAttrs abi [ "assertions" ]) abis_; in
|
inherit (lib.systems.parse)
|
||||||
|
kernels
|
||||||
|
kernelFamilies
|
||||||
|
significantBytes
|
||||||
|
cpuTypes
|
||||||
|
execFormats
|
||||||
|
;
|
||||||
|
|
||||||
|
abis = lib.mapAttrs (_: abi: builtins.removeAttrs abi [ "assertions" ]) lib.systems.parse.abis;
|
||||||
|
in
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
# these patterns are to be matched against {host,build,target}Platform.parsed
|
# these patterns are to be matched against {host,build,target}Platform.parsed
|
||||||
|
|
Loading…
Reference in New Issue
Block a user