diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix index 6cec1a7229a2..cc787df92085 100644 --- a/lib/systems/parse.nix +++ b/lib/systems/parse.nix @@ -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. diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 1576ff3dc89d..be333d3bddc1 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -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 ); diff --git a/pkgs/top-level/variants.nix b/pkgs/top-level/variants.nix index 9c5a60f9f003..1dee1a4a39a7 100644 --- a/pkgs/top-level/variants.nix +++ b/pkgs/top-level/variants.nix @@ -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 ); }; }