about summary refs log tree commit diff
path: root/pkgs/test/cross
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-01-09 05:36:01 +0200
committerArtturin <Artturin@artturin.com>2023-01-09 21:13:22 +0200
commit2eeb34c2737f5eb8a2796701584a7b0551cb053a (patch)
treebbd2d01a65ae344e46a8c91537f6a0f00257d410 /pkgs/test/cross
parentecab3edeb79a5257974d24acd04e5c9b3c245e6c (diff)
treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform
Diffstat (limited to 'pkgs/test/cross')
-rw-r--r--pkgs/test/cross/default.nix4
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;
     };