about summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2024-03-25Merge pull request #295374 from philiptaron/issue-208242/lib.systemsSilvan Mosberger3-51/+140
lib: use explicit name imports in `lib/systems`
2024-03-24Merge pull request #297993 from hsjobeki/doc/customisationDaniel Sidhion1-88/+229
doc: migrate lib.customisation to use doc-comments
2024-03-23Merge pull request #297990 from hsjobeki/doc/cliDaniel Sidhion1-37/+58
doc: migrate lib.cli to use doc-comments
2024-03-23Merge pull request #295196 from tpwrules/qemu-less-libsArtturi1-0/+4
lib/systems: remove more features from qemu-user
2024-03-22doc: migrate lib.customisation to use doc-commentsJohannes Kirschbauer1-88/+229
2024-03-22doc: migrate lib.cli to use doc-commentsJohannes Kirschbauer1-37/+58
2024-03-21treewide: remove licenses.agpl3Jussi Kuokkanen1-5/+0
2024-03-21Update licenses.nixSoussi Mohamed Nour1-1292/+1303
2024-03-21update license: added the common clause licenseByteSudoer1-0/+1
2024-03-21lib.licenses: added The commons clause licenseByteSudoer1-1282/+1291
2024-03-20lib/license: add hpndUcjopejoe11-0/+5
2024-03-20lib/license: add giftwarejopejoe11-0/+5
2024-03-20lib/license: add NIST-Softwarejopejoe11-0/+5
2024-03-19doc: migrate lib.trivial to use doc-comments (#297270)Johannes Kirschbauer1-214/+727
* doc: migrate lib.trivial to use doc-comments * Apply suggestions from code review --------- Co-authored-by: Daniel Sidhion <DanielSidhion@users.noreply.github.com>
2024-03-19Merge pull request #296186 from hsjobeki/doc/attrsetsDaniel Sidhion1-537/+1329
doc: migrate lib.attrsets to use doc-comments
2024-03-19Apply suggestions from code reviewDaniel Sidhion1-0/+56
2024-03-19Avoid top-level `with ...;` in lib/systems/parse.nixPhilip Taron1-16/+43
2024-03-19Avoid top-level `with ...;` in lib/systems/inspect.nixPhilip Taron1-13/+25
2024-03-19lib/systems: inherit from lib.systems.inspect.predicates in ↵Philip Taron1-1/+8
lib/systems/parse.nix
2024-03-19lib/systems: inherit from lib.systems.parse in lib/systems/inspect.nixPhilip Taron1-3/+12
2024-03-19lib/systems: use lib.systems.parse and lib.systems.inspect.predicates ↵Philip Taron2-2/+2
instead of re-importing
2024-03-19lib.systems: use explicit attrset instead of `rec`Philip Taron1-20/+54
This allows refactoring in the file without accidentally modifying the public interface of the file. Also, pull in symbols consistently from `lib` instead of `builtins`.
2024-03-19doc: manual fixup after migrationJohannes Kirschbauer1-71/+12
2024-03-18Merge pull request #293901 from philiptaron/refactor-lib/generators.nixSilvan Mosberger1-76/+133
lib: use explicit name imports in `lib/generators.nix`
2024-03-18Merge pull request #295158 from philiptaron/remove-top-level-with-in-lib-part5Silvan Mosberger1-1/+88
Avoid top-level `with` in `lib/tests/misc.nix`
2024-03-16lib.foldl': document eta expansionJohannes Kirschbauer1-1/+9
2024-03-16lib: use names from `lib` in `lib/generators.nix`, rather than `builtins` or ↵Philip Taron1-36/+24
submodules of `lib` There's not a lot of rhyme to which names are exported from which module, as I see it, but everything is found somewhere.
2024-03-15lib.foldl': avoid unnecessary function callJohannes Kirschbauer1-3/+1
2024-03-15doc: migrate lib.attrsets to use doc-commentsJohannes Kirschbauer1-467/+1262
2024-03-14lib/generators: use the explicit public interface patternPhilip Taron1-19/+37
This enables further refactoring without accidentally changing the public interface.
2024-03-14lib/generators: explicitly import names from `lib.trivial`Philip Taron1-1/+5
Everything else was already imported.
2024-03-14lib/generators: explicitly import names from `lib.attrsets`Philip Taron1-7/+5
Everything used was already imported.
2024-03-14lib/generators: explicitly import names from `lib.string`Philip Taron1-15/+24
A couple of these were imports from `builtins`.
2024-03-14lib/generators: explicitly import names from `lib`Philip Taron1-18/+41
I followed the `inherit` chains in `lib/default.nix` to arrive at these imports.
2024-03-14lib/generators: builtins.isFloat is in Nix 2.3Philip Taron1-22/+39
There's a couple of aliases in play: 1. `lib.isList` is an alias for `builtins.isList`. 2. `lib.strings.concatStringsSep` is an alias for `builtins.concatStringsSep`
2024-03-14Merge pull request #294906 from philiptaron/remove-top-level-with-in-lib-part2Silvan Mosberger1-19/+85
lib: use explicit name imports in `lib/deprecated.nix`
2024-03-14Merge pull request #295007 from philiptaron/remove-top-level-with-in-lib-part3Silvan Mosberger1-1/+3
lib: avoid top-level `with ...;` in lib/kernel.nix
2024-03-13doc: lib.lists migrate to doc-comments (#294257)Johannes Kirschbauer1-370/+1322
* doc: lib.lists migrate to doc-comments * Fix extra indentation of docs lines, remove redundant comments, add inputs docs * fix: indentation & argument references --------- Co-authored-by: DS <commits@sidhion.com>
2024-03-11lib/systems: remove more features from qemu-userThomas Watson1-0/+4
alsaSupport/jackSupport: unnecessary multimedia systems tpmSupport/capstoneSupport: unlikely to come up as an exe emulator
2024-03-11Avoid top-level `with` in lib/tests/misc.nixPhilip Taron1-1/+88
2024-03-11Avoid top-level `with ...;` in lib/kernel.nixPhilip Taron1-1/+3
2024-03-11Avoid top-level `with ...;` in ↵Philip Taron1-1/+8
lib/tests/modules/extendModules-168767-imports.nix
2024-03-11Avoid top-level `with ...;` in lib/tests/modules/alias-with-priority.nixPhilip Taron1-3/+10
2024-03-11Avoid top-level `with ...;` in ↵Philip Taron1-3/+10
lib/tests/modules/alias-with-priority-can-override.nix
2024-03-10lib: use explicit name imports in lib/deprecated.nixPhilip Taron1-19/+85
2024-03-09doc: actually document `lib.customisation.makeScope` (#294194)Valentin Gagarin1-11/+122
* doc: actually document `lib.customisation.makeScope`
2024-03-07doc: lib.asserts migrate to doc-comments (#292310)Johannes Kirschbauer1-44/+106
2024-03-06Merge branch 'master' into license-updatesJörg Thalheim32-333/+912
2024-03-06Merge pull request #292945 from adisbladis/lib-tointSilvan Mosberger1-10/+17
lib.toInt/toIntBase10: Make more efficient by hoisting up internal strings into higher scope
2024-03-06Merge pull request #292941 from adisbladis/lib-getattrfrompath-envSilvan Mosberger1-2/+1
lib.getAttrFromPath: Don't use errorMessage variable