aliases: add pkgs.system

This is an old compat definition for stdenv.hostPlatform.system
This commit is contained in:
Ryan Burns 2021-10-22 16:38:55 -07:00
parent 3a3c1e94fb
commit 4246d6ce21
2 changed files with 2 additions and 1 deletions

View File

@ -1246,4 +1246,6 @@ mapAliases ({
targetLlvmLibraries = targetPackages.llvmPackages_git.libraries;
});
inherit (stdenv.hostPlatform) system; # added 2021-10-22
})

View File

@ -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);