about summary refs log tree commit diff
path: root/lib/tests/misc.nix
AgeCommit message (Expand)AuthorFilesLines
2022-12-21lib/versions: add `pad`Naïm Favier1-0/+15
2022-12-11Merge pull request #205457 from h7x4/lib-strings-toInt-broken-for-negative-nu...Robert Hensing1-0/+4
2022-12-10lib.strings: fix negative number handling for `toInt` and `toIntBase10`h7x41-0/+4
2022-12-08nixos/doc: render option values using `lib.generators.toPretty`Naïm Favier1-1/+1
2022-12-08lib/generators.toPretty: escape strings properlyNaïm Favier1-8/+8
2022-12-08lib/generators.toPretty: don't evaluate derivationsNaïm Favier1-1/+1
2022-11-17lib/attrsets: add concatMapAttrsfigsoda1-0/+17
2022-10-23lib/strings: Update docs and restructured code to improve readability of toIn...Jacob Abel1-0/+4
2022-10-23lib/strings: Refactor toInt into toInt and toIntBase10Jacob Abel1-16/+44
2022-10-23lib/strings: Update toInt to handle intermixed ws and zeros. Added testsJacob Abel1-0/+11
2022-10-23lib/strings: allow toInt to parse zero-padded stringsJacob Abel1-0/+28
2022-10-20lib/tests/misc: Add tests for charToInt, escapeC, and normalizePathDaniel Olsen1-0/+15
2022-09-21lib: Add lazyDerivationRobert Hensing1-0/+53
2022-09-17lib.types: Add parentheses where description is ambiguousRobert Hensing1-0/+53
2022-05-23Merge pull request #168374 from Ma27/special-attrs-in-with-recursionSilvan Mosberger1-0/+15
2022-05-15Revert "lib: init flakes.nix"adisbladis1-10/+0
2022-05-07lib/strings/toShellVars: handle derivations as stringsNaïm Favier1-0/+12
2022-05-02Merge pull request #170090 from danth/has-infix-toStringRobert Hensing1-0/+30
2022-05-02lib/tests: add tests for hasInfixDaniel Thwaites1-0/+30
2022-05-01Merge pull request #167947 from MatthewCroughan/mc/callLocklessFlakeArtturi1-0/+9
2022-04-27lib/strings: add toShellVarsNaïm Favier1-0/+20
2022-04-12lib/tests: evaluate value from subflake with callLocklessFlakematthewcroughan1-2/+2
2022-04-12lib/tests: use subflake to test callLocklessFlakematthewcroughan1-3/+3
2022-04-12lib/tests: add test for callLocklessFlakematthewcroughan1-0/+9
2022-04-12lib/generators: withRecursion: don't break attr-sets with special attrsMaximilian Bosch1-0/+15
2022-04-06Merge pull request #164088 from Profpatsch/lib.generators-add-toINIWithGlobal...Silvan Mosberger1-0/+60
2022-04-05Merge pull request #165540 from Infinisil/module-args-docsRobert Hensing1-1/+1
2022-04-05Merge pull request #166383 from hercules-ci/always-sanitize-derivation-nameRobert Hensing1-0/+5
2022-04-05lib/modules: Document _module.argsSilvan Mosberger1-1/+1
2022-04-01lib/tests: Add tests for levenshtein functionsSilvan Mosberger1-0/+152
2022-03-31lib.sanitizeDerivationName: Test with unicodeRobert Hensing1-0/+5
2022-03-18lib.attrsets: Introduce updateManyAttrsByPathSilvan Mosberger1-0/+114
2022-03-18lib.lists: Use builtins.groupBy for lib.groupBySilvan Mosberger1-1/+17
2022-03-18lib.attrsets: Introduce showAttrPathSilvan Mosberger1-0/+22
2022-03-14lib.generators: add toINIWithGlobalSectionProfpatsch1-0/+60
2021-12-13lib: fix flake checkzimbatm1-1/+1
2021-10-03lib: add function escapeXMLRobert Helgesson1-0/+5
2021-08-26lib/generators: move limit detection into `withRecursion`Maximilian Bosch1-3/+4
2021-08-25lib/generators/toPretty: add evaluation-limitMaximilian Bosch1-0/+18
2021-08-03lib: fix functionArgs for functorsDavid Arnold1-0/+10
2021-01-28lib/attrsets: add cartesianProductOfSets functionJacek Galowicz1-0/+67
2020-12-18Revert "Module-builtin assertions, disabling assertions and submodule asserti...Silvan Mosberger1-1/+1
2020-11-30nixos/modules: Expose the internal module in the top-level documentationSilvan Mosberger1-1/+1
2020-11-13lib: Add composeManyExtensionsJoe Hermaszewski1-0/+20
2020-10-18lib.splitString: use builtin.splitEtienne Laurin1-0/+14
2020-09-21Merge pull request #97133 from Infinisil/improved-toPrettySilvan Mosberger1-7/+65
2020-09-17lib/generators.toPretty: Print [] and {} compactlySilvan Mosberger1-0/+4
2020-09-17lib/generators.toPretty: Switch away from δ and λSilvan Mosberger1-5/+8
2020-09-17lib/generators.toPretty: Improved string printing, handling newlinesSilvan Mosberger1-0/+27
2020-09-17lib/generators.toPretty: Implement multiline printingSilvan Mosberger1-1/+25