| Commit message (Expand) | Author | Age | Files | Lines |
| ... | |
| * | lib.substring: inherit from lib.strings | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |
| * | lib.head: inherit from lib.lists | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |
| * | lib.tail: inherit from lib.lists | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |
| * | lib.stringLength: inherit from lib.strings | Silvan Mosberger | 2024-06-20 | 1 | -1/+2 |
| * | lib.length: inherit from lib.lists | Silvan Mosberger | 2024-06-20 | 1 | -2/+3 |
| * | lib.genList: inherit from lib.lists | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |
| * | lib.filter: inherit from lib.lists | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |
| * | lib.attrNames: inherit from lib.attrsets | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |
| * | lib: inherit concatLists via lib.lists | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |
| * | lib.split: Export from lib.strings.split | Silvan Mosberger | 2024-06-20 | 1 | -1/+1 |
| * | lib.match: Export from lib.strings.match | Silvan Mosberger | 2024-06-20 | 1 | -1/+1 |
| * | lib.removeAttrs: Export from lib.attrsets.removeAttrs | Silvan Mosberger | 2024-06-20 | 1 | -1/+1 |
| * | lib.intersectAttrs: Export from builtins | Silvan Mosberger | 2024-06-20 | 1 | -1/+1 |
| * | lib.map: Export from lib.lists.map | Silvan Mosberger | 2024-06-20 | 1 | -1/+1 |
| * | Merge pull request #214021 from tweag/ifilter0•••lib.lists.ifilter0: init | Silvan Mosberger | 2024-04-22 | 1 | -1/+1 |
| |\ |
|
| | * | lib.lists.ifilter0: init | Silvan Mosberger | 2024-04-22 | 1 | -1/+1 |
| * | | lib: Document status of deprecated.nix and move it•••This is all I could find after co-maintaining lib for a long time.
I've had the fortune of basically not really noticing this file,
because it has had very few interactions until the confusion in
https://github.com/NixOS/nixpkgs/pull/304277
It seems to be a state of limbo, which would be nice to resolve
(with great care), but this is not urgent, and first we should
document its status.
| Robert Hensing | 2024-04-21 | 1 | -1/+1 |
| |/ |
|
| * | Merge pull request #298680 from gvolpe/lib/transposeMap•••lib/attrsets: add mapCartesianProduct function | Rick van Schijndel | 2024-04-19 | 1 | -2/+2 |
| |\ |
|
| | * | lib/attrsets: introduce mapCartesianProduct | Gabriel Volpe | 2024-04-15 | 1 | -1/+1 |
| | * | lib/attrsets: rename cartesianProductOfSets to cartesianProduct | Gabriel Volpe | 2024-04-15 | 1 | -1/+1 |
| * | | lib: add mdDoc back in to provide proper warning | éclairevoyant | 2024-04-15 | 1 | -1/+1 |
| |/ |
|
| * | lib: remove all uses of lib.mdDoc•••this change is otherwise a no-op, as lib.mdDoc is already defined to be
the identity function.
| stuebinm | 2024-04-13 | 1 | -1/+1 |
| * | Merge pull request #284551 from hercules-ci/types-attrTag•••Add `types.attrTag` | Silvan Mosberger | 2024-04-09 | 1 | -1/+2 |
| |\ |
|
| | * | lib.modules.evalOptionValue: Undeprecate for lib.types•••lib.types.attrTag needs it.
| Robert Hensing | 2024-04-04 | 1 | -1/+2 |
| * | | lib: add xor•••This gets clumsily reimplemented in various places, to no useful end.
| edef | 2024-04-04 | 1 | -1/+1 |
| * | | lib/strings: Add makeIncludePath (#296237)•••* 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> | Florian Richer | 2024-04-02 | 1 | -1/+1 |
| * | | lib: export attrsets.mergeAttrsList | Sandro | 2024-02-26 | 1 | -2/+2 |
| |/ |
|
| * | lib: Add optionalDrvAttr to conditionally set drv attributes.•••This allows for adding new, conditionally set, derivation attributes
to an existing derivation without changing any output paths in the
case where the condition is not met.
| Shea Levy | 2024-02-02 | 1 | -1/+1 |
| * | Merge pull request #270537 from 9999years/packagesFromDirectory•••lib.packagesFromDirectoryRecursive: init | Silvan Mosberger | 2023-12-19 | 1 | -1/+2 |
| |\ |
|
| | * | lib.packagesFromDirectoryRecursive: init•••Co-authored-by: Gabriella Gonzalez <GenuineGabriella@gmail.com>
| Rebecca Turner | 2023-12-19 | 1 | -1/+2 |
| * | | lib.sortOn: init•••A more efficient sort in some cases, and often convenient.
This exposes `lib.lists.sortOn` immediately on `lib`, because it is
a sibling of `sort`, which is already present there.
Omitting it would lead to more confusion, and worse outcomes.
There's no confusion about the types `sort` or `sortOn` operate on.
Haskell agrees about the type for `sortOn`, and it is in its `base`.
| Robert Hensing | 2023-12-08 | 1 | -1/+1 |
| |/ |
|
| * | Merge pull request #239722 from Stunkymonkey/lib-allUnique•••lib.lists.allUnique: init | Silvan Mosberger | 2023-11-15 | 1 | -1/+1 |
| |\ |
|
| | * | lib.lists.allUnique: init | Felix Buehler | 2023-11-14 | 1 | -1/+1 |
| * | | lib.mirrorFunctionArgs: init•••Co-authored-by: Silvan Mosberger <github@infinisil.com>
| Yueh-Shun Li | 2023-11-07 | 1 | -1/+1 |
| |/ |
|
| * | Merge pull request #254452 from flyingcircusio/lib-attrsToList•••lib.attrsets.attrsToList: add function | Silvan Mosberger | 2023-10-10 | 1 | -2/+2 |
| |\ |
|
| | * | lib.attrsets.attrsToList: add function•••For transforming back between lists and attrsets, it makes sense to have
a quasi-inverse of `builtins.listToAttrs` available as a library
function.
Co-authored-by: Silvan Mosberger <github@infinisil.com>
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
| Oliver Schmidt | 2023-10-10 | 1 | -2/+2 |
| * | | lib: add cmakeOptionType, cmakeBool and cmakeFeature | Anderson Torres | 2023-09-27 | 1 | -0/+1 |
| |/ |
|
| * | Merge pull request #245623 from tweag/fileset.toSource•••File set combinators base: `lib.fileset.toSource` | Silvan Mosberger | 2023-09-02 | 1 | -0/+1 |
| |\ |
|
| | * | lib.fileset.toSource: init | Silvan Mosberger | 2023-09-01 | 1 | -0/+1 |
| * | | Merge pull request #234615 from linsui/dconf•••nixos/dconf: support generating from attrs | Jan Tojnar | 2023-08-28 | 1 | -0/+1 |
| |\ \ |
|
| | * | | lib/gvariant: init | linsui | 2023-08-15 | 1 | -0/+1 |
| | |/ |
|
| * | | Merge pull request #245957 from amjoseph-nixpkgs/pr/lib/customization/makeSco... | Artturi | 2023-08-20 | 1 | -1/+1 |
| |\ \ |
|
| | * | | lib.customisation: add uncurried form of makeScopeWithSplicing•••Deeply-curried functions are pretty error-prone in untyped languages
like Nix. This is a particularly bad case because
`top-level/splice.nix` *also* declares a makeScopeWithSplicing, but
it takes *two fewer arguments*.
Let's add a version that uses attrset-passing form, to provide some
minimal level of sanity-checking.
This also provides defaults for keep and extra (these are often
unneeded by the user).
| Adam Joseph | 2023-08-14 | 1 | -1/+1 |
| | |/ |
|
| * / | lib/meta.nix: introduce getExe'•••getExe' can be used to get a binary other than the mainProgram from a
derivation.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
| Sefa Eyeoglu | 2023-08-13 | 1 | -1/+1 |
| |/ |
|
| * | lib/options: remove literalDocBook•••no longer supported. warning when used would not be appropriate, and
docbook has been on the way out for long enough that throwing an error
should not be necessary either.
| pennae | 2023-06-13 | 1 | -1/+1 |
| * | lib.sources.pathType and co.: Move to lib.filesystem•••These functions only work with the filesystem, they don't import
anything as sources
| Silvan Mosberger | 2023-04-05 | 1 | -2/+3 |
| * | init: lib.foldlAttrs•••- provide comprehensive example
- add unit test
| hsjobeki | 2023-03-11 | 1 | -1/+1 |
| * | lib: remove deprecated functions•••all of these have been deprecated and raising warnings since 18.09. it's
about time we actually made good on "will be removed in the next release".
| pennae | 2023-03-08 | 1 | -5/+4 |
| * | strings: add escapeQuery for url encoding | Patrick Widmer | 2023-03-03 | 1 | -1/+1 |
| * | Merge pull request #206611 from h7x4/lib-lists-add-repeat•••lib.lists: add `replicate` | Silvan Mosberger | 2023-02-07 | 1 | -1/+1 |
| |\ |
|