about summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2024-04-19Merge master into staging-nextgithub-actions[bot]4-25/+99
2024-04-19Merge pull request #298680 from gvolpe/lib/transposeMapRick van Schijndel4-25/+99
lib/attrsets: add mapCartesianProduct function
2024-04-16Merge master into staging-nextgithub-actions[bot]2-2/+2
2024-04-15lib: clarify warning about mdDocéclairevoyant1-1/+1
2024-04-15lib: add mdDoc back in to provide proper warningéclairevoyant1-1/+1
2024-04-15lib/tests: apply lintsGabriel Volpe1-9/+4
2024-04-15tree-wide: use mapCartesianProductGabriel Volpe1-3/+19
2024-04-15lib/attrsets: introduce mapCartesianProductGabriel Volpe3-1/+60
2024-04-15tree-wide: use cartesianProductGabriel Volpe1-6/+6
2024-04-15lib/attrsets: rename cartesianProductOfSets to cartesianProductGabriel Volpe2-6/+10
2024-04-13Merge branch 'master' into staging-nextWeijia Wang3-7/+9
2024-04-13lib.mdDoc: remove and replace with warningstuebinm1-2/+4
2024-04-13lib: remove all uses of lib.mdDocstuebinm2-5/+5
this change is otherwise a no-op, as lib.mdDoc is already defined to be the identity function.
2024-04-12Merge branch 'staging' into staging-nextVladimír Čunát1-1/+1
Conflicts (tried to quickly resolve somehow, checked eval): pkgs/development/python-modules/apsw/default.nix pkgs/development/python-modules/mido/default.nix pkgs/development/python-modules/pytest-bdd/default.nix pkgs/development/python-modules/sparse/default.nix
2024-04-09Merge pull request #284551 from hercules-ci/types-attrTagSilvan Mosberger7-3/+306
Add `types.attrTag`
2024-04-09Merge branch 'staging-next' into stagingWeijia Wang2-4/+16
2024-04-08licenses: rename `apsl{10,20}` -> `apple-psl{10,20}`iliana etaoin1-2/+14
Part 1 of #301908. This renames the two versions of the Apple Public Source License seen in nixpkgs; `apsl20` was often confused as being for the widely-used Apache License 2.0.
2024-04-06lib.hasAttrByPath: fix typo (#302042)Tharun Thennarasu1-2/+2
2024-04-05Merge remote-tracking branch 'upstream/staging-next' into stagingannalee3-1/+35
Conflicts: pkgs/development/python-modules/pynetdicom/default.nix
2024-04-04Merge pull request #301556 from edef1c/lib-xorSilvan Mosberger3-1/+35
lib: add xor
2024-04-04lib: add xoredef3-1/+35
This gets clumsily reimplemented in various places, to no useful end.
2024-04-04Merge staging-next into staginggithub-actions[bot]6-37/+53
2024-04-04doc: migrate trivial files to doc-comment format (#299986)Johannes Kirschbauer6-37/+53
* doc: migrate trivial files to doc-comment format * fix: revert some comments * Apply suggestions from code review Thanks @danielSidhion Co-authored-by: Daniel Sidhion <DanielSidhion@users.noreply.github.com> * Update lib/types.nix --------- Co-authored-by: Daniel Sidhion <DanielSidhion@users.noreply.github.com> Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-04-04types.attrTag: Remove unnecessary definitions override Robert Hensing1-1/+0
Committing because tests pass. Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-04-04lib.types.attrTag: Fix declarationPositions after mergeRobert Hensing2-4/+18
2024-04-04lib/tests/modules/types-attrTag.nix: Test other option doc attrsRobert Hensing1-0/+9
2024-04-04lib/tests/modules/types-attrTag.nix: Clean up unneeded commentRobert Hensing1-1/+0
2024-04-04types.attrTag: Remove substSubmodulesRobert Hensing1-9/+0
I haven't managed to trigger the error, and it turns out that this method is optional. Specifically, getSubmodules is unimplemented (and unimplementable), the tests pass, and we seem to have good location info.
2024-04-04types.attrTagWith: removeRobert Hensing2-11/+19
Keep it simple for now.
2024-04-04lib.types.attrTag: Custom error when passing bare typeRobert Hensing3-1/+23
2024-04-04lib/tests/modules/types-attrTag: Test against unexpected attrsRobert Hensing1-6/+6
Thank you lheckemann for pointing this out!
2024-04-04lib.types.attrTag: Remove tags from descriptionRobert Hensing2-7/+8
You can find them in the sub-options now.
2024-04-04lib.modules.evalOptionValue: Undeprecate for lib.typesRobert Hensing2-2/+3
lib.types.attrTag needs it.
2024-04-04lib.types.attrTag: Provide declarations, definitionsRobert Hensing2-2/+20
2024-04-04lib/types.nix: Fix getSubOptions docRobert Hensing1-1/+1
This comment was added in 73f32d03758a5, when it was already supposed to be an attrset.
2024-04-04lib.types.attrTag: Support type mergingRobert Hensing2-1/+32
2024-04-04lib.types.attrTag: Take options instead of typesRobert Hensing2-21/+55
2024-04-04lib.types.attrTag: Support module docsRobert Hensing3-1/+65
2024-04-02lib.fileset: fix typo: compatibity to compatibilityPhilip Taron1-1/+1
2024-04-02lib/strings: Add makeIncludePath (#296237)Florian Richer3-1/+43
* Update strings.nix * Fix typo in docs * Update lib/strings.nix Co-authored-by: lolbinarycat <dogedoge61+github@gmail.com> * Update lib/strings.nix Co-authored-by: lolbinarycat <dogedoge61+github@gmail.com> * Add unit test with strings * Move test to strings * Add unit test with package structure * testMakeIncludePathWithPkgs: use real pkgs * Revert "testMakeIncludePathWithPkgs: use real pkgs" This reverts commit fb1850c069cfb324f3a43323da740a27a11793f3. * Update lib/tests/misc.nix Co-authored-by: lolbinarycat <dogedoge61+github@gmail.com> * Update lib/tests/misc.nix Co-authored-by: Silvan Mosberger <github@infinisil.com> --------- Co-authored-by: lolbinarycat <dogedoge61+github@gmail.com> Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-03-25Merge pull request #297266 from ByteSudoer/init-vidmergerSandro1-0/+6
vidmerger: init at 0.3.2
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