diff options
author | Ryan Burns <rtburns@protonmail.com> | 2021-10-22 16:38:55 -0700 |
---|---|---|
committer | Ryan Burns <rtburns@protonmail.com> | 2021-10-27 09:36:27 -0700 |
commit | 4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143 (patch) | |
tree | 269353ff00e9d25cc8531f385661ea5f8655637a | |
parent | 3a3c1e94fba46e9da61f42721dec989b15afe84c (diff) | |
download | nixpkgs-4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143.tar nixpkgs-4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143.tar.gz nixpkgs-4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143.tar.bz2 nixpkgs-4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143.tar.lz nixpkgs-4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143.tar.xz nixpkgs-4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143.tar.zst nixpkgs-4246d6ce21d2d8d33e2d30f42b3d9d446c5dc143.zip |
aliases: add pkgs.system
This is an old compat definition for stdenv.hostPlatform.system
-rw-r--r-- | pkgs/top-level/aliases.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/stage.nix | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index e28d75c8421..69633ad7602 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 a990c5ed70c..7db79276d89 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); |