Unverified Commit 10d47c84 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

lib.systems: s/makeMuslParsedPlatform/mkMuslSystem/ (#497385)

parents b7968af0 4c05f197
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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
        );
+1 −1
Original line number Diff line number Diff line
@@ -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
          );
        };
      }