3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib
John Ericson 8929989614 lib: Clean up how linux and gcc config is specified
The `platform` field is pointless nesting: it's just stuff that happens
to be defined together, and that should be an implementation detail.

This instead makes `linux-kernel` and `gcc` top level fields in platform
configs. They join `rustc` there [all are optional], which was put there
and not in `platform` in anticipation of a change like this.

`linux-kernel.arch` in particular also becomes `linuxArch`, to match the
other `*Arch`es.

The next step after is this to combine the *specific* machines from
`lib.systems.platforms` with `lib.systems.examples`, keeping just the
"multiplatform" ones for defaulting.
2021-01-21 22:44:09 -05:00
..
systems lib: Clean up how linux and gcc config is specified 2021-01-21 22:44:09 -05:00
tests Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
asserts.nix
attrsets.nix
cli.nix
customisation.nix lib: Create makeScopeWithSplicing 2020-11-19 00:07:14 -05:00
debug.nix lib: Use Nix's static scope checking, fix error message, optimize 2020-10-22 13:46:47 +02:00
default.nix lib: Create makeScopeWithSplicing 2020-11-19 00:07:14 -05:00
deprecated.nix
fetchers.nix
filesystem.nix lib: Add readTree function to filesystem 2020-10-19 16:42:21 -07:00
fixed-points.nix lib: Add composeManyExtensions 2020-11-13 21:37:57 +01:00
generators.nix lib/generators.toPretty: functors should print as functions 2020-09-17 18:20:43 +02:00
kernel.nix
licenses.nix licenses: Mark unclear GPL licenses explicitly deprecated 2020-12-22 19:25:33 +01:00
lists.nix lib.lists.unique: Switch from recursive function to using a fold 2020-11-24 14:31:54 +01:00
meta.nix
minver.nix
modules.nix Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
options.nix Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
sources.nix lib/sources.nix: fix incorrect inherit 2020-10-30 23:19:22 +01:00
strings-with-deps.nix lib: Use Nix's static scope checking, fix error message, optimize 2020-10-22 13:46:47 +02:00
strings.nix lib/string: drop redundant string in description of toInt. 2020-12-05 14:35:30 +00:00
trivial.nix lib: add importTOML 2020-09-12 16:37:50 +02:00
types.nix lib/types.nix: fix missing inherit 2020-10-26 00:50:06 -07:00
versions.nix
zip-int-bits.nix