lib: Collect system/platform related files
Previously, platforms was a random thing in top-level
This commit is contained in:
@@ -55,7 +55,7 @@ in let
|
||||
# Allow setting the platform in the config file. Otherwise, let's use a
|
||||
# reasonable default.
|
||||
localSystem =
|
||||
{ platform = (import ./platforms.nix).selectPlatformBySystem args.localSystem.system; }
|
||||
{ platform = lib.systems.platforms.selectPlatformBySystem args.localSystem.system; }
|
||||
// builtins.intersectAttrs { platform = null; } config
|
||||
// args.localSystem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user