lib.systems: s/makeMuslParsedPlatform/mkMuslSystem/ (#497385)
This commit is contained in:
@@ -977,7 +977,7 @@ rec {
|
||||
|
||||
# This is a function from parsed platforms (like stdenv.hostPlatform.parsed)
|
||||
# to parsed platforms.
|
||||
makeMuslParsedPlatform =
|
||||
mkMuslSystem =
|
||||
parsed:
|
||||
# The following line guarantees that the output of this function
|
||||
# is a well-formed platform with no missing fields.
|
||||
|
||||
@@ -288,7 +288,7 @@ let
|
||||
isStatic = true;
|
||||
config = lib.systems.parse.tripleFromSystem (
|
||||
if stdenv.hostPlatform.isLinux then
|
||||
lib.systems.parse.makeMuslParsedPlatform stdenv.hostPlatform.parsed
|
||||
lib.systems.parse.mkMuslSystem stdenv.hostPlatform.parsed
|
||||
else
|
||||
stdenv.hostPlatform.parsed
|
||||
);
|
||||
|
||||
@@ -84,7 +84,7 @@ self: super: {
|
||||
++ overlays;
|
||||
${if stdenv.hostPlatform == stdenv.buildPlatform then "localSystem" else "crossSystem"} = {
|
||||
config = lib.systems.parse.tripleFromSystem (
|
||||
lib.systems.parse.makeMuslParsedPlatform stdenv.hostPlatform.parsed
|
||||
lib.systems.parse.mkMuslSystem stdenv.hostPlatform.parsed
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user