Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-21 | lib/tests: Allow grepping for newlines in error messages | Silvan Mosberger | |
2020-09-21 | lib/modules: Evaluate single defs for readOnly error | Silvan Mosberger | |
If multiple definitions are passed, this evaluates them all as if they were the only one, for a better error message. In particular this won't show module-internal properties like `_type = "override"` and co. | |||
2020-09-21 | lib/modules: Improve error messages using showDefs | Silvan Mosberger | |
2020-09-21 | lib/options: Introduce showDefs | Silvan Mosberger | |
For pretty-printing definitions, including file and values | |||
2020-09-21 | lib/types: Remove unreachable if branch | Silvan Mosberger | |
The type's check function already ensured that it can't be passed non-lists | |||
2020-09-21 | Merge pull request #97133 from Infinisil/improved-toPretty | Silvan Mosberger | |
Improve `generators.toPretty` | |||
2020-09-21 | Merge pull request #97119 from Infinisil/types.anything | Robert Hensing | |
Introduce `types.anything` | |||
2020-09-20 | Merge branch 'staging-next' into staging | WORLDofPEACE | |
2020-09-20 | Merge pull request #81014 from fgaz/platforms/endianness | Gabriel Ebner | |
platforms: add bigEndian and littleEndian | |||
2020-09-20 | platforms: add bigEndian and littleEndian | Francesco Gazzetta | |
2020-09-17 | lib/generators.toPretty: functors should print as functions | Silvan Mosberger | |
Not attribute sets. So move the function case forward | |||
2020-09-17 | lib/generators.toPretty: Print [] and {} compactly | Silvan Mosberger | |
2020-09-17 | lib/generators.toPretty: Switch away from δ and λ | Silvan Mosberger | |
- These symbols can be confusing for those not familiar with them - There's no harm in making these more obvious - Terminals may not print them correctly either Also changes the function argument printing slightly to be more obvious | |||
2020-09-17 | lib/generators.toPretty: Improved string printing, handling newlines | Silvan Mosberger | |
2020-09-17 | lib/generators.toPretty: Implement multiline printing | Silvan Mosberger | |
2020-09-17 | lib/generators.toPretty: Wrap in a go function | Silvan Mosberger | |
As a preparation to the following commit | |||
2020-09-17 | lib/generators.toPretty: Only quote attribute names if necessary | Silvan Mosberger | |
2020-09-15 | lib/tests: Add tests for types.anything | Silvan Mosberger | |
2020-09-15 | lib/types: Introduce types.anything | Silvan Mosberger | |
This new type has unsurprising merge behavior: Only attribute sets are merged together (recursively), and only if they don't conflict. This is in contrast to the existing types: - types.attrs is problematic because later definitions completely override attributes of earlier definitions, and it doesn't support mkIf and co. - types.unspecified is very similar to types.attrs, but it has smart merging behavior that often doesn't make sense, and it doesn't support all types | |||
2020-09-15 | lib/options: Fix mergeEqualOption for singular functions | Silvan Mosberger | |
Previously it would error out for a single function definition | |||
2020-09-13 | Merge branch 'staging-next' into staging | Vladimír Čunát | |
2020-09-12 | lib.licenses: add Prosperity-3.0.0 license (#97832) | Geoffrey Huntley | |
2020-09-12 | lib: allow to import JSON and TOML files | zimbatm | |
The vision here is that configuration tools can generate .json or .toml files, which can be plugged into an existing configuration. Eg: { lib, ... }: { imports = [ (lib.modules.importJSON ./hardware-configuration.json) ]; } | |||
2020-09-12 | lib: add importTOML | zimbatm | |
Complements the `lib.importJSON`. `builtins.readTOML` has been introduced in Nix 2.1. | |||
2020-09-12 | Merge staging-next into staging | Frederik Rietdijk | |
2020-09-10 | Merge branch 'staging' into ios-13 | Matthew Bauer | |
2020-09-10 | Merge pull request #97587 from arcnmx/arch-fix | Matthew Bauer | |
Fix arch eval error | |||
2020-09-09 | Fix arch eval error introduced in #61019 | arcnmx | |
This occurs when using a `platform.gcc.arch` that isn't one of the pre-existing hard-coded options. | |||
2020-09-09 | jasper: remove, abandoned upstream. | David Anderson | |
Jasper has been marked insecure for a while, and upstream has not been responsive to CVEs for over a year. Fixes #55388. Signed-off-by: David Anderson <dave@natulte.net> | |||
2020-09-08 | Merge pull request #97387 from Ericson2314/fix-android-prebuilt | John Ericson | |
cc-wrapper: Fix for prebuilt android | |||
2020-09-08 | lib.systems.examples: Bump android SDK to 21 | John Ericson | |
074bc78cc8749faa31729096b65f2ef51b10abeb evidently meant to do this, but forgot. | |||
2020-09-07 | 21.03 is Okapi | Jonathan Ringer | |
* Okapi is an artiodactyl mammal native to Central Africa * https://en.wikipedia.org/wiki/Okapi | |||
2020-09-07 | Merge pull request #97114 from Infinisil/type-deprecation | Silvan Mosberger | |
Better type deprecation messages | |||
2020-09-07 | Merge pull request #97042 from Infinisil/freeform-option-docs | Silvan Mosberger | |
Show sub options of freeform types | |||
2020-09-07 | lib/types: Set deprecationMessage for types.optionSet | Silvan Mosberger | |
2020-09-07 | lib/types: Set deprecationMessage for types.loaOf | Silvan Mosberger | |
2020-09-07 | lib/types: Set deprecationMessage for types.string | Silvan Mosberger | |
2020-09-07 | lib/types: Remove types.list, it's been deprecated long enough | Silvan Mosberger | |
Has been deprecated since fd803fce606a007403ba6d05f09ed2e6a3371830 (2013-08-22) | |||
2020-09-07 | lib/types: Allow types to emit a deprecation warning | Silvan Mosberger | |
Previously the only way to deprecate a type was using theType = lib.warn "deprecated" (mkOptionType ...) This caused the warning to be emitted when the type was evaluated, but the error didn't include which option actually used that type. With this commit, types can specify a deprecationMessage, which when non-null, is printed along with the option that uses the type | |||
2020-09-04 | lib/tests: Add test for freeform option docs | Silvan Mosberger | |
2020-09-03 | lib/types: Show sub options of freeform types | Silvan Mosberger | |
Previously if you set the freeform type to e.g. attrsOf (submodule ..), those submodule options wouldn't be shown in the manual. | |||
2020-09-03 | lib/strings: deprecate readPathsFromFile | V | |
> NOTE: This function is not performant and should be avoided. It's not used at all in-tree now, so we can remove it completely after any remaining users are given notice. | |||
2020-09-02 | Merge pull request #96042 from rnhmjoj/loaOf | WORLDofPEACE | |
treewide: completely remove types.loaOf | |||
2020-09-01 | Merge pull request #61019 from volth/gcc.arch-amd | John Ericson | |
platform.gcc.arch: support for AMD CPUs | |||
2020-09-02 | treewide: completely remove types.loaOf | rnhmjoj | |
2020-09-01 | Update architectures.nix | volth | |
2020-08-31 | Merge pull request #96223 from KAction/static | John Ericson | |
Make pkgsStatic set "static" argument to true | |||
2020-08-31 | pythonPackages.databricks-connect: init at 7.1.0 | kfollesdal | |
2020-08-31 | licenses: add databricks | kfollesdal | |
2020-08-28 | Merge pull request #95309 from obsidiansystems/mobile-fixes | Matthew Bauer | |
Support Android 29 in cross-compilation |