diff options
author | Artturin <Artturin@artturin.com> | 2023-01-09 05:36:01 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-01-09 21:13:22 +0200 |
commit | 2eeb34c2737f5eb8a2796701584a7b0551cb053a (patch) | |
tree | bbd2d01a65ae344e46a8c91537f6a0f00257d410 /pkgs/test | |
parent | ecab3edeb79a5257974d24acd04e5c9b3c245e6c (diff) |
treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform
Diffstat (limited to 'pkgs/test')
-rw-r--r-- | pkgs/test/cross/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/test/cross/default.nix b/pkgs/test/cross/default.nix index c5a2414377327..beb64df195773 100644 --- a/pkgs/test/cross/default.nix +++ b/pkgs/test/cross/default.nix @@ -8,7 +8,7 @@ let ) lib.systems.examples; getExecutable = pkgs: pkgFun: exec: - "${pkgFun pkgs}${exec}${pkgs.hostPlatform.extensions.executable}"; + "${pkgFun pkgs}${exec}${pkgs.stdenv.hostPlatform.extensions.executable}"; compareTest = { emulator, pkgFun, hostPkgs, crossPkgs, exec, args ? [] }: let pkgName = (pkgFun hostPkgs).name; @@ -55,7 +55,7 @@ let mapMultiPlatformTest = crossSystemFun: test: lib.mapAttrs (name: system: test rec { crossPkgs = import pkgs.path { - localSystem = { inherit (pkgs.hostPlatform) config; }; + localSystem = { inherit (pkgs.stdenv.hostPlatform) config; }; crossSystem = crossSystemFun system; }; |