aliases: add pkgs.system

This is an old compat definition for stdenv.hostPlatform.system
This commit is contained in:
Ryan Burns
2021-10-27 09:36:27 -07:00
parent 3a3c1e94fb
commit 4246d6ce21
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -1246,4 +1246,6 @@ mapAliases ({
targetLlvmLibraries = targetPackages.llvmPackages_git.libraries;
});
inherit (stdenv.hostPlatform) system; # added 2021-10-22
})
-1
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);