diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-02-08 21:27:22 -0500 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2017-04-17 17:13:01 -0400 |
commit | 22277893923cdf26004d83b608b7e1c3ca7030fb (patch) | |
tree | acfb682574364c067efd5916caa67b1a0d431955 /pkgs/top-level/default.nix | |
parent | b477851f3427e3353d530ab0d47b63fe2686dd4b (diff) |
lib: Collect system/platform related files
Previously, platforms was a random thing in top-level
Diffstat (limited to 'pkgs/top-level/default.nix')
-rw-r--r-- | pkgs/top-level/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index 3e3ecdeea6cb0..48dbe7118bc23 100644 --- a/pkgs/top-level/default.nix +++ b/pkgs/top-level/default.nix @@ -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; |