tests.stdenv: use system from stdenv.{build,host}Platform (#447555)

Changed files
+5 -5
pkgs
test
stdenv
+5 -5
pkgs/test/stdenv/default.nix
···
"-c"
": > $out"
];
-
system = builtins.currentSystem;
+
inherit (stdenv.buildPlatform) system;
};
dep2 = derivation {
name = "dep2";
···
"-c"
": > $out"
];
-
system = builtins.currentSystem;
+
inherit (stdenv.buildPlatform) system;
};
passAsFile = [ "dep2" ];
})
···
"-c"
": > $out"
];
-
system = builtins.currentSystem;
+
inherit (stdenv.buildPlatform) system;
};
dep2 = derivation {
name = "dep2";
···
"-c"
": > $out"
];
-
system = builtins.currentSystem;
+
inherit (stdenv.buildPlatform) system;
};
name = "meow";
outputHash = "sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=";
···
ensure-no-execve-in-setup-sh =
derivation {
name = "ensure-no-execve-in-setup-sh";
-
system = stdenv.system;
+
inherit (stdenv.hostPlatform) system;
builder = "${stdenv.bootstrapTools}/bin/bash";
PATH = "${pkgs.strace}/bin:${stdenv.bootstrapTools}/bin";
initialPath = [