nixpkgs/lib
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
..
systems treewide: add emulator to platform 2018-11-29 19:15:30 -06:00
tests lib.isStorePath: fix false result when passed a path object 2018-10-20 22:33:04 +11:00
asserts.nix lib: move assertMsg and assertOneOf to their own library file 2018-09-06 18:14:27 +02:00
attrsets.nix lib.overrideExisting: Better example 2018-09-17 23:28:47 +02:00
composable-derivation.nix [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
customisation.nix lib: fix wording of the overrideScope warning 2018-10-11 17:23:47 +02:00
debug.nix lib/debug: Update documentation comments for docs generation 2018-10-29 10:45:25 +01:00
default.nix lib: move assertMsg and assertOneOf to their own library file 2018-09-06 18:14:27 +02:00
deprecated.nix Add setFunctionArgs lib function. 2018-01-31 14:02:19 -05:00
fetchers.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
filesystem.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
fixed-points.nix Revert "Merge branch 'improved-make-overridable' of git://github.com/ElvishJerricco/nixpkgs" 2017-09-29 09:11:26 -04:00
generators.nix generators: make toPretty handle floats correctly 2018-10-15 14:03:16 +02:00
kernel.nix linux: translate config to structured config 2018-06-30 16:01:41 +03:00
licenses.nix jasper: add license 2018-11-01 23:27:14 +01:00
lists.nix lib/lists: Update documentation comments for doc generation 2018-10-29 10:42:43 +01:00
meta.nix treewide: remove lib.meta.enableIfAvailable 2018-05-09 16:21:22 -05:00
minver.nix Nix minimal version: 1.11 -> 2.0 2018-08-30 08:09:54 -04:00
modules.nix module system: rework module merging 2018-08-27 17:11:58 +02:00
options.nix lib/options: Update documentation comments for docs generation 2018-10-29 10:45:28 +01:00
sources.nix docs: documentation for cleanSource 2018-10-02 22:05:06 +02:00
strings-with-deps.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
strings.nix Merge pull request #49383 from tazjin/docs/lib-docstrings 2018-10-29 11:00:02 +00:00
trivial.nix lib/trivial: Update function comments for doc generation 2018-10-27 16:40:40 +02:00
types.nix lib/types: enhances separatedString's description 2018-10-12 19:11:16 -04:00
versions.nix lib: add versions library 2018-03-04 06:28:34 -08:00
zip-int-bits.nix lib/trivial: move zipIntBits to its own file 2018-07-26 20:36:45 +02:00