From 4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Fri, 22 Oct 2021 16:38:55 -0700 Subject: [PATCH] aliases: add pkgs.system This is an old compat definition for stdenv.hostPlatform.system --- pkgs/top-level/aliases.nix | 2 ++ pkgs/top-level/stage.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index e28d75c84211..69633ad76028 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1246,4 +1246,6 @@ mapAliases ({ targetLlvmLibraries = targetPackages.llvmPackages_git.libraries; }); + inherit (stdenv.hostPlatform) system; # added 2021-10-22 + }) diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index a990c5ed70cb..7db79276d899 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -116,7 +116,6 @@ let inherit (super.stdenv) buildPlatform hostPlatform targetPlatform; in { inherit buildPlatform hostPlatform targetPlatform; - inherit (hostPlatform) system; }; splice = self: super: import ./splice.nix lib self (adjacentPackages != null);