nixpkgs/pkgs/test
Matthew Bauer 9c8fd41224 treewide: add emulator to platform
You can use stdenv.hostPlatform.emulator to get an executable that
runs cross-built binaries. This could be any emulator. For instance,
we use QEMU to emulate Linux targets and Wine to emulate Windows
targets. To work with qemu, we need to support custom targets.

I’ve reworked the cross tests in pkgs/test/cross to use this
functionality.

Also, I’ve used talloc to cross-execute with the emulator. There
appears to be a cross-execute for all waf builds. In the future, it
would be nice to set this for all waf builds.

Adds stdenv.hostPlatform.qemuArch attrbute to get the qemuArch for
each platform.
2018-11-29 19:15:30 -06:00
..
cc-wrapper Merge remote-tracking branch 'upstream/master' into staging 2018-06-18 15:30:39 -04:00
cross treewide: add emulator to platform 2018-11-29 19:15:30 -06:00
ld-library-path pkgs/tests: Add test for LD_LIBRARY_PATH 2018-08-01 19:02:21 +03:00
macos-sierra-shared sierra-shared-test: fix build 2018-01-05 23:20:55 +01:00
mkOption Replace references to all-packages.nix, by references to the top-level of nixpkgs repository. 2016-03-13 18:25:52 +00:00
patch-shebangs top-level/release.nix: add patchShebangs test 2018-09-16 14:22:29 -04:00
simple Remove cruft 2016-04-26 17:31:54 +02:00
stdenv-inputs treewide: Use *Platform.extensions 2017-09-13 11:16:10 -04:00
default.nix Merge branch 'master' into staging 2018-09-24 21:18:23 +02:00