diff options
author | Artturin <Artturin@artturin.com> | 2023-01-08 23:18:53 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-01-09 05:24:56 +0200 |
commit | ecab3edeb79a5257974d24acd04e5c9b3c245e6c (patch) | |
tree | 6e1a8cc693f2faa85d5e9c9f7569a78b10d15331 /pkgs/top-level/stage.nix | |
parent | a518c77148585023ff56022f09c4b2c418a51ef5 (diff) |
top-level: move top-level {build,host,target}Platform to aliases
deprecation was attempted in e51f736076548459f36a1250de4bf6867f880b66 but had to be reverted in 2a6e4ae49a891adc7c0562fda08b17d60beb1b4f
Diffstat (limited to 'pkgs/top-level/stage.nix')
-rw-r--r-- | pkgs/top-level/stage.nix | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 3669b622e7156..e5412c409ed57 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -138,14 +138,6 @@ let inherit stdenv; }; - # The old identifiers for cross-compiling. These should eventually be removed, - # and the packages that rely on them refactored accordingly. - platformCompat = self: super: let - inherit (super.stdenv) buildPlatform hostPlatform targetPlatform; - in { - inherit buildPlatform hostPlatform targetPlatform; - }; - splice = self: super: import ./splice.nix lib self (adjacentPackages != null); allPackages = self: super: @@ -282,7 +274,6 @@ let # previous bootstrapping phases which have already been overlayed. toFix = lib.foldl' (lib.flip lib.extends) (self: {}) ([ stdenvBootstappingAndPlatforms - platformCompat stdenvAdapters trivialBuilders splice |