1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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