diff options
author | Philip Taron <philip.taron@gmail.com> | 2024-03-12 08:37:53 -0700 |
---|---|---|
committer | Philip Taron <philip.taron@gmail.com> | 2024-03-19 16:09:37 -0700 |
commit | 123a2f0fcc96cc7828ef942a88d3608b55d6d81c (patch) | |
tree | afcd5711e0c0811b0e159c83efb271bc258b9940 /lib/systems | |
parent | 5988f8f841d7fde752edf611cd0a9c2ea942b4bd (diff) |
lib/systems: use lib.systems.parse and lib.systems.inspect.predicates instead of re-importing
Diffstat (limited to 'lib/systems')
-rw-r--r-- | lib/systems/inspect.nix | 2 | ||||
-rw-r--r-- | lib/systems/parse.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index c6a33781ae287..3ce1db2b8987d 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -1,5 +1,5 @@ { lib }: -with import ./parse.nix { inherit lib; }; +with lib.systems.parse; with lib.attrsets; with lib.lists; diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix index b69ad669e1874..7161b30dc5714 100644 --- a/lib/systems/parse.nix +++ b/lib/systems/parse.nix @@ -19,7 +19,7 @@ with lib.lists; with lib.types; with lib.attrsets; with lib.strings; -with (import ./inspect.nix { inherit lib; }).predicates; +with lib.systems.inspect.predicates; let inherit (lib.options) mergeOneOption; |