Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | lib/tests: Update for error message changes | Silvan Mosberger | 2020-09-21 | 1 | -12/+12 | |
| | | | | ||||||
| * | | | lib/tests: Allow grepping for newlines in error messages | Silvan Mosberger | 2020-09-21 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | lib/modules: Evaluate single defs for readOnly error | Silvan Mosberger | 2020-09-21 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | | lib/modules: Improve error messages using showDefs | Silvan Mosberger | 2020-09-21 | 2 | -10/+10 | |
| | | | | ||||||
| * | | | lib/options: Introduce showDefs | Silvan Mosberger | 2020-09-21 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | For pretty-printing definitions, including file and values | |||||
| * | | | lib/types: Remove unreachable if branch | Silvan Mosberger | 2020-09-21 | 1 | -10/+8 | |
| | | | | | | | | | | | | | | | | | | | | The type's check function already ensured that it can't be passed non-lists | |||||
* | | | | Merge staging-next into staging | Frederik Rietdijk | 2020-09-22 | 11 | -27/+310 | |
|\| | | | ||||||
| * | | | Merge pull request #97133 from Infinisil/improved-toPretty | Silvan Mosberger | 2020-09-21 | 2 | -27/+104 | |
| |\ \ \ | | | | | | | | | | | Improve `generators.toPretty` | |||||
| | * | | | lib/generators.toPretty: functors should print as functions | Silvan Mosberger | 2020-09-17 | 1 | -7/+7 | |
| | | | | | | | | | | | | | | | | | | | | Not attribute sets. So move the function case forward | |||||
| | * | | | lib/generators.toPretty: Print [] and {} compactly | Silvan Mosberger | 2020-09-17 | 2 | -2/+9 | |
| | | | | | ||||||
| | * | | | lib/generators.toPretty: Switch away from δ and λ | Silvan Mosberger | 2020-09-17 | 2 | -12/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | |||||
| | * | | | lib/generators.toPretty: Improved string printing, handling newlines | Silvan Mosberger | 2020-09-17 | 2 | -1/+40 | |
| | | | | | ||||||
| | * | | | lib/generators.toPretty: Implement multiline printing | Silvan Mosberger | 2020-09-17 | 2 | -11/+40 | |
| | | | | | ||||||
| | * | | | lib/generators.toPretty: Wrap in a go function | Silvan Mosberger | 2020-09-17 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | As a preparation to the following commit | |||||
| | * | | | lib/generators.toPretty: Only quote attribute names if necessary | Silvan Mosberger | 2020-09-17 | 2 | -2/+2 | |
| | | | | | ||||||
| * | | | | Merge pull request #97119 from Infinisil/types.anything | Robert Hensing | 2020-09-21 | 9 | -0/+206 | |
| |\ \ \ \ | | | | | | | | | | | | | Introduce `types.anything` | |||||
| | * | | | | lib/tests: Add tests for types.anything | Silvan Mosberger | 2020-09-15 | 7 | -0/+166 | |
| | | | | | | ||||||
| | * | | | | lib/types: Introduce types.anything | Silvan Mosberger | 2020-09-15 | 1 | -0/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| | * | | | | lib/options: Fix mergeEqualOption for singular functions | Silvan Mosberger | 2020-09-15 | 1 | -0/+4 | |
| | |/ / / | | | | | | | | | | | | | | | | Previously it would error out for a single function definition | |||||
* | | | | | Merge branch 'staging-next' into staging | WORLDofPEACE | 2020-09-20 | 1 | -25/+28 | |
|\| | | | | ||||||
| * | | | | Merge pull request #81014 from fgaz/platforms/endianness | Gabriel Ebner | 2020-09-20 | 1 | -25/+28 | |
| |\ \ \ \ | | | | | | | | | | | | | platforms: add bigEndian and littleEndian | |||||
| | * | | | | platforms: add bigEndian and littleEndian | Francesco Gazzetta | 2020-09-20 | 1 | -25/+28 | |
| | | | | | | ||||||
* | | | | | | Merge branch 'staging-next' into staging | Vladimír Čunát | 2020-09-13 | 1 | -0/+6 | |
|\| | | | | | ||||||
| * | | | | | lib.licenses: add Prosperity-3.0.0 license (#97832) | Geoffrey Huntley | 2020-09-12 | 1 | -0/+6 | |
| | |_|/ / | |/| | | | ||||||
* | | | | | Merge staging-next into staging | Frederik Rietdijk | 2020-09-12 | 7 | -26/+57 | |
|\| | | | | ||||||
| * | | | | Merge pull request #97587 from arcnmx/arch-fix | Matthew Bauer | 2020-09-10 | 1 | -1/+1 | |
| |\ \ \ \ | | | | | | | | | | | | | Fix arch eval error | |||||
| | * | | | | Fix arch eval error introduced in #61019 | arcnmx | 2020-09-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This occurs when using a `platform.gcc.arch` that isn't one of the pre-existing hard-coded options. | |||||
| * | | | | | jasper: remove, abandoned upstream. | David Anderson | 2020-09-09 | 1 | -5/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | |||||
| * | | | | | Merge pull request #97387 from Ericson2314/fix-android-prebuilt | John Ericson | 2020-09-08 | 1 | -2/+2 | |
| |\ \ \ \ \ | | |/ / / / | |/| | | | | cc-wrapper: Fix for prebuilt android | |||||
| | * | | | | lib.systems.examples: Bump android SDK to 21 | John Ericson | 2020-09-08 | 1 | -2/+2 | |
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | 074bc78cc8749faa31729096b65f2ef51b10abeb evidently meant to do this, but forgot. | |||||
| * | | | | 21.03 is Okapi | Jonathan Ringer | 2020-09-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Okapi is an artiodactyl mammal native to Central Africa * https://en.wikipedia.org/wiki/Okapi | |||||
| * | | | | Merge pull request #97114 from Infinisil/type-deprecation | Silvan Mosberger | 2020-09-07 | 2 | -16/+21 | |
| |\ \ \ \ | | | | | | | | | | | | | Better type deprecation messages | |||||
| | * | | | | lib/types: Set deprecationMessage for types.optionSet | Silvan Mosberger | 2020-09-07 | 1 | -1/+2 | |
| | | | | | | ||||||
| | * | | | | lib/types: Set deprecationMessage for types.loaOf | Silvan Mosberger | 2020-09-07 | 1 | -8/+6 | |
| | | | | | | ||||||
| | * | | | | lib/types: Set deprecationMessage for types.string | Silvan Mosberger | 2020-09-07 | 1 | -2/+4 | |
| | | | | | | ||||||
| | * | | | | lib/types: Remove types.list, it's been deprecated long enough | Silvan Mosberger | 2020-09-07 | 1 | -3/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Has been deprecated since fd803fce606a007403ba6d05f09ed2e6a3371830 (2013-08-22) | |||||
| | * | | | | lib/types: Allow types to emit a deprecation warning | Silvan Mosberger | 2020-09-07 | 2 | -2/+9 | |
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | | | | Merge pull request #97042 from Infinisil/freeform-option-docs | Silvan Mosberger | 2020-09-07 | 2 | -1/+32 | |
| |\ \ \ \ | | |/ / / | |/| | | | Show sub options of freeform types | |||||
| | * | | | lib/tests: Add test for freeform option docs | Silvan Mosberger | 2020-09-04 | 1 | -0/+26 | |
| | | | | | ||||||
| | * | | | lib/types: Show sub options of freeform types | Silvan Mosberger | 2020-09-03 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously if you set the freeform type to e.g. attrsOf (submodule ..), those submodule options wouldn't be shown in the manual. | |||||
* | | | | | Merge branch 'staging' into ios-13 | Matthew Bauer | 2020-09-10 | 25 | -185/+447 | |
|\| | | | | ||||||
| * | | | | lib/strings: deprecate readPathsFromFile | V | 2020-09-03 | 1 | -8/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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. | |||||
| * | | | | Merge pull request #96042 from rnhmjoj/loaOf | WORLDofPEACE | 2020-09-02 | 2 | -107/+11 | |
| |\ \ \ \ | | | | | | | | | | | | | treewide: completely remove types.loaOf | |||||
| | * | | | | treewide: completely remove types.loaOf | rnhmjoj | 2020-09-02 | 2 | -107/+11 | |
| | | | | | | ||||||
| * | | | | | Merge pull request #61019 from volth/gcc.arch-amd | John Ericson | 2020-09-01 | 2 | -0/+79 | |
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | platform.gcc.arch: support for AMD CPUs | |||||
| | * | | | | Update architectures.nix | volth | 2020-09-01 | 1 | -1/+2 | |
| | | | | | | ||||||
| | * | | | | Update architectures.nix | volth | 2020-08-22 | 1 | -12/+13 | |
| | | | | | | ||||||
| | * | | | | Update architectures.nix | volth | 2020-08-22 | 1 | -7/+7 | |
| | | | | | | ||||||
| | * | | | | Update architectures.nix | volth | 2020-08-22 | 1 | -6/+6 | |
| | | | | | | ||||||
| | * | | | | gcc.arch: refactor, move tables under lib/ | volth | 2020-08-05 | 2 | -0/+77 | |
| | | | | | |