mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
lib/systems: inherit from lib.systems.inspect.predicates in lib/systems/parse.nix
This commit is contained in:
parent
af634f14ba
commit
07d3270dbc
1 changed files with 8 additions and 1 deletions
|
@ -19,9 +19,16 @@ with lib.lists;
|
||||||
with lib.types;
|
with lib.types;
|
||||||
with lib.attrsets;
|
with lib.attrsets;
|
||||||
with lib.strings;
|
with lib.strings;
|
||||||
with lib.systems.inspect.predicates;
|
|
||||||
|
|
||||||
let
|
let
|
||||||
|
inherit (lib.systems.inspect.predicates)
|
||||||
|
isAarch32
|
||||||
|
isBigEndian
|
||||||
|
isDarwin
|
||||||
|
isLinux
|
||||||
|
isPower64
|
||||||
|
isWindows
|
||||||
|
;
|
||||||
inherit (lib.options) mergeOneOption;
|
inherit (lib.options) mergeOneOption;
|
||||||
|
|
||||||
setTypes = type:
|
setTypes = type:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue