3
0
Fork 0
forked from mirrors/nixpkgs

top-level: move top-level {build,host,target}Platform to aliases

deprecation was attempted in e51f736076

but had to be reverted in 2a6e4ae49a
This commit is contained in:
Artturin 2023-01-08 23:18:53 +02:00
parent a518c77148
commit ecab3edeb7
2 changed files with 1 additions and 9 deletions

View file

@ -1764,6 +1764,7 @@ mapAliases ({
zyn-fusion = zynaddsubfx; # Added 2022-08-05
inherit (stdenv.hostPlatform) system; # Added 2021-10-22
inherit (stdenv) buildPlatform hostPlatform targetPlatform; # Added 2023-01-09
# LLVM packages for (integration) testing that should not be used inside Nixpkgs:
llvmPackages_git = recurseIntoAttrs (callPackage ../development/compilers/llvm/git {

View file

@ -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