Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-12-18 | Merge pull request #97145 from lheckemann/initrd-improvements | Linus Heckemann | 1 | -1/+1 | |
Initrd improvements | |||||
2020-12-18 | Revert "Module-builtin assertions, disabling assertions and submodule ↵ | Silvan Mosberger | 13 | -303/+45 | |
assertions" | |||||
2020-12-18 | Merge pull request #97023 from Infinisil/module-assertions | Silvan Mosberger | 13 | -45/+303 | |
Module-builtin assertions, disabling assertions and submodule assertions | |||||
2020-12-18 | Merge pull request #104118 from LibreCybernetics/add-parity-license | Doron Behar | 1 | -0/+6 | |
lib.licenses: add Parity-7.0.0 license | |||||
2020-12-18 | lib/modules: Prefix mkRemovedOptionModule & co. check names | Silvan Mosberger | 1 | -3/+3 | |
To avoid name clashes Co-authored-by: Robert Hensing <robert@roberthensing.nl> | |||||
2020-12-17 | lib/modules: Introduce _module.checks.*.check | Silvan Mosberger | 11 | -29/+39 | |
Previously the .enable option was used to encode the condition as well, which lead to some oddness: - In order to encode an assertion, one had to invert it - To disable a check, one had to mkForce it By introducing a separate .check option this is solved because: - It can be used to encode assertions - Disabling is done separately with .enable option, whose default can be overridden without a mkForce | |||||
2020-12-17 | lib/systems: fix kernelArch for x86_64 | Linus Heckemann | 1 | -1/+1 | |
IA64 (Itanium) is something completely different and certainly not what we want! x86_64 code lives in arch/x86 just like "classic" x86. | |||||
2020-12-08 | Merge pull request #101248 from makefu/pkgs/pfsshell/init | Sandro | 1 | -0/+5 | |
2020-12-05 | lib/string: drop redundant string in description of toInt. | Alex Brandt | 1 | -1/+1 | |
Describing the string argument as a string is redundant and not needed to describe what this function does. | |||||
2020-12-04 | lib/strings: fix typo in example | Alex Brandt | 1 | -2/+2 | |
The example refers to a snake_case function name but Nix uses camelCase function names. This ensures the example is correct for the given function. | |||||
2020-12-03 | lib/strings: fix examples for enableFeatureAs | Alex Brandt | 1 | -2/+2 | |
The As was missing in the examples on this library function. This will ensure the examples refer to the function they document. | |||||
2020-12-02 | Merge pull request #105294 from Ericson2314/platform-config-improvements | John Ericson | 3 | -19/+23 | |
Platform config improvements | |||||
2020-12-01 | Merge pull request #105432 from tadfisher/remarkable-2-cross | John Ericson | 2 | -0/+20 | |
Cross-compile configuration for reMarkable 2 tablet | |||||
2020-12-01 | licenses: Add Academic Free License version 2.0 | makefu | 1 | -0/+5 | |
2020-11-30 | lib/modules: _module.check should always be internal | Silvan Mosberger | 1 | -8/+9 | |
Honestly this option should probably just be removed | |||||
2020-11-30 | lib/modules: Remove _module.checks.*.triggerPath as it's not necessary | Silvan Mosberger | 6 | -164/+27 | |
Previously this option was thought to be necessary to avoid infinite recursion, but it actually isn't, since the check evaluation isn't fed back into the module fixed-point. | |||||
2020-11-30 | lib/modules: Rename _module.assertions to _module.checks | Silvan Mosberger | 14 | -50/+56 | |
2020-11-30 | lib/tests: Add tests for module-builtin assertions | Silvan Mosberger | 13 | -0/+197 | |
2020-11-30 | lib/tests: Implement generalized checkConfigCodeOutErr for module tests | Silvan Mosberger | 1 | -21/+34 | |
2020-11-30 | nixos/modules: Expose the internal module in the top-level documentation | Silvan Mosberger | 2 | -6/+11 | |
2020-11-30 | nixos/modules: Allow options to be coerced to a string for convenience | Silvan Mosberger | 1 | -0/+2 | |
2020-11-30 | lib/modules: Use module-builtin assertions for mkRemovedOptionModule and co. | Silvan Mosberger | 1 | -14/+24 | |
2020-11-30 | nixos/assertions: Use module-builtin assertion implementation | Silvan Mosberger | 1 | -6/+6 | |
2020-11-30 | lib/modules: Implement module-builtin assertions | Silvan Mosberger | 1 | -1/+152 | |
This implements assertions/warnings supported by the module system directly, instead of just being a NixOS option (see nixos/modules/misc/assertions.nix). This has the following benefits: - It allows cleanly redoing the user interface. The new implementation specifically allows disabling assertions or converting them to warnings instead. - Assertions/warnings can now be thrown easily from within submodules, which previously wasn't possible and needed workarounds. | |||||
2020-11-30 | lib/options: Don't show internal suboption in the manual | Silvan Mosberger | 1 | -1/+1 | |
Initially https://github.com/NixOS/nixpkgs/pull/82897 prevented non-visible options from being rendered in the manual, but visible-but-internal options were still being recursed into. This fixes this, aligning the recurse condition here with the one in make-options-doc/default.nix | |||||
2020-11-30 | Merge pull request #99115 from Infinisil/toString-module-files | Silvan Mosberger | 1 | -2/+2 | |
lib/modules: Make sure to not import module _file's into the store | |||||
2020-11-29 | Cross-compiling configuration for reMarkable 2 tablet | Tad Fisher | 2 | -0/+20 | |
2020-11-29 | lib/systems/exmaple: `riscv-multiplatform` no longer needs parameter | John Ericson | 2 | -4/+4 | |
2020-11-29 | lib, binutils: Move Risc-V bfdEmulation to be by the others | John Ericson | 1 | -1/+0 | |
2020-11-29 | lib.systems.platforms: Make selection more flexible | John Ericson | 2 | -14/+19 | |
We dont have to match on exact strings if we get accessed to `parsed`. Co-authored-by: Matthew Bauer <mjbauer95@gmail.com> | |||||
2020-11-26 | Merge pull request #103884 from djanatyn/pkg/xlife | Sandro | 1 | -0/+5 | |
2020-11-24 | Merge pull request #102503 from siraben/remarkable-init | John Ericson | 2 | -0/+19 | |
Initial implementation of remarkable1 cross-compile | |||||
2020-11-24 | lib.lists.unique: Switch from recursive function to using a fold | adisbladis | 1 | -7/+1 | |
This improves performance by ~30-40% for smaller test cases and makes larger cases where my laptop would OOM pass in seconds. | |||||
2020-11-23 | Initial implementation of remarkable1 cross-compile | Ben Siraphob | 2 | -0/+19 | |
2020-11-19 | lib: Create `makeScopeWithSplicing` | John Ericson | 2 | -1/+28 | |
It's ugly as hell, but I suppose it is needed to codify how to make spliced package sets. | |||||
2020-11-17 | lib.licenses: add Parity-7.0.0 license | Fabián Heredia Montiel | 1 | -0/+6 | |
2020-11-16 | Merge master into staging-next | Frederik Rietdijk | 8 | -19/+64 | |
2020-11-15 | licenses: add HPND-sell-variant | Jonathan Strickland | 1 | -0/+5 | |
2020-11-14 | Merge pull request #102766 from siraben/mmix | John Ericson | 5 | -16/+32 | |
Initial implementation of cross-compilation to Knuth's MMIX | |||||
2020-11-13 | lib: Add composeManyExtensions | Joe Hermaszewski | 3 | -3/+32 | |
2020-11-11 | Merge staging-next into staging | Frederik Rietdijk | 1 | -2/+6 | |
2020-11-11 | Merge pull request #44928 from vcunat/p/configure-assert | Eelco Dolstra | 1 | -2/+6 | |
lib/strings: guard against an easy mistake | |||||
2020-11-09 | Initial support for OpenRISC 1000 (or1k) | Samuel Dionne-Riel | 4 | -0/+11 | |
2020-11-09 | Initial implementation of mmix cross-compile | Ben Siraphob | 5 | -16/+32 | |
2020-10-30 | lib/sources.nix: fix incorrect inherit | V | 1 | -1/+1 | |
split comes from builtins, not lib. error: attribute 'split' missing, at /nix/path/nixpkgs/lib/sources.nix:4:4 (use '--show-trace' to show detailed location information) | |||||
2020-10-26 | lib/types.nix: fix missing inherit | Keshav Kini | 1 | -0/+3 | |
I think there was a silent (i.e. semantic) merge conflict between PR #101139 and PR #100456. This commit should fix the error, which manifests as follows: error: undefined variable 'boolToString' at /home/kkini/src/nixpkgs/lib/types.nix:552:42 | |||||
2020-10-26 | Merge pull request #101139 from roberth/lib-use-static-scope-checking | Robert Hensing | 9 | -86/+265 | |
lib: Use Nix's static scope checking, fix error message, optimize | |||||
2020-10-25 | Merge pull request #101409 from rycee/dbus-warning | Gabriel Ebner | 1 | -1/+1 | |
2020-10-25 | Merge pull request #100456 from maralorn/boolToString | Andreas Rammhold | 1 | -1/+1 | |
treewide: De-inline uses of lib.boolToString | |||||
2020-10-24 | docs: update documentation of `mkRemovedOptionModule` | Robert Helgesson | 1 | -1/+1 | |
Since b08b0bcbbec77046e5a7082177cedc12fbf1dc6c, the function actually causes an assertion error, not a warning. |