treewide: Purge stdenv.platform and top-level platform

Progress towards #27069
This commit is contained in:
John Ericson
2018-08-20 15:22:46 -04:00
parent f0d6e22b7f
commit 7d85ade0cc
12 changed files with 16 additions and 20 deletions
+1 -4
View File
@@ -82,11 +82,8 @@ let
platformCompat = self: super: let
inherit (super.stdenv) buildPlatform hostPlatform targetPlatform;
in {
stdenv = super.stdenv // {
inherit (super.stdenv.buildPlatform) platform;
};
inherit buildPlatform hostPlatform targetPlatform;
inherit (buildPlatform) system platform;
inherit (buildPlatform) system;
};
splice = self: super: import ./splice.nix lib self (buildPackages != null);