mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 15:23:26 +03:00
top-level: move top-level {build,host,target}Platform to aliases
deprecation was attempted ine51f736076
but had to be reverted in2a6e4ae49a
This commit is contained in:
parent
a518c77148
commit
ecab3edeb7
@ -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 {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user