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

authored by

Connor Baker and committed by
GitHub
90b8554d c86ffae9

+5 -5
+5 -5
pkgs/test/stdenv/default.nix
··· 279 279 "-c" 280 280 ": > $out" 281 281 ]; 282 - system = builtins.currentSystem; 282 + inherit (stdenv.buildPlatform) system; 283 283 }; 284 284 dep2 = derivation { 285 285 name = "dep2"; ··· 288 288 "-c" 289 289 ": > $out" 290 290 ]; 291 - system = builtins.currentSystem; 291 + inherit (stdenv.buildPlatform) system; 292 292 }; 293 293 passAsFile = [ "dep2" ]; 294 294 }) ··· 319 319 "-c" 320 320 ": > $out" 321 321 ]; 322 - system = builtins.currentSystem; 322 + inherit (stdenv.buildPlatform) system; 323 323 }; 324 324 dep2 = derivation { 325 325 name = "dep2"; ··· 328 328 "-c" 329 329 ": > $out" 330 330 ]; 331 - system = builtins.currentSystem; 331 + inherit (stdenv.buildPlatform) system; 332 332 }; 333 333 name = "meow"; 334 334 outputHash = "sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="; ··· 386 386 ensure-no-execve-in-setup-sh = 387 387 derivation { 388 388 name = "ensure-no-execve-in-setup-sh"; 389 - system = stdenv.system; 389 + inherit (stdenv.hostPlatform) system; 390 390 builder = "${stdenv.bootstrapTools}/bin/bash"; 391 391 PATH = "${pkgs.strace}/bin:${stdenv.bootstrapTools}/bin"; 392 392 initialPath = [