Commit Graph

71 Commits (d72c6a72d0184bb6e659ca253409e5310d335962)

Author SHA1 Message Date
adisbladis 161776ec1e Revert "lib: init flakes.nix" 2 years ago
Naïm Favier 4d2ea62d82
lib/strings/toShellVars: handle derivations as strings 2 years ago
Daniel Thwaites 7b5be1a0f8 lib/tests: add tests for hasInfix 2 years ago
Naïm Favier 226bc99659
lib/strings: add toShellVars 2 years ago
matthewcroughan 3f128cc024 lib/tests: evaluate value from subflake with callLocklessFlake 2 years ago
matthewcroughan ec59145c3b lib/tests: use subflake to test callLocklessFlake 2 years ago
matthewcroughan cc052779fb lib/tests: add test for callLocklessFlake 2 years ago
Silvan Mosberger 25de2935ef lib/modules: Document _module.args 2 years ago
Silvan Mosberger f8c1aee5da lib/tests: Add tests for levenshtein functions 2 years ago
Robert Hensing 2999ab114e lib.sanitizeDerivationName: Test with unicode 2 years ago
Silvan Mosberger 85003ecdbb lib.attrsets: Introduce updateManyAttrsByPath 2 years ago
Silvan Mosberger 1ad7812c4a lib.lists: Use builtins.groupBy for lib.groupBy 2 years ago
Silvan Mosberger 71b130c581 lib.attrsets: Introduce showAttrPath 2 years ago
Profpatsch ab03ddc8f4 lib.generators: add toINIWithGlobalSection 2 years ago
zimbatm 22991521eb
lib: fix flake check 2 years ago
Robert Helgesson e75f346aa3
lib: add function escapeXML 3 years ago
Maximilian Bosch 5773ae93f7
lib/generators: move limit detection into `withRecursion` 3 years ago
Maximilian Bosch 55ea29fd8c
lib/generators/toPretty: add evaluation-limit 3 years ago
David Arnold cf8e219b7e
lib: fix functionArgs for functors 3 years ago
Jacek Galowicz 123045a570 lib/attrsets: add cartesianProductOfSets function 3 years ago
Silvan Mosberger 9e6737710c Revert "Module-builtin assertions, disabling assertions and submodule assertions" 3 years ago
Silvan Mosberger 3759a77fcd
nixos/modules: Expose the internal module in the top-level documentation 4 years ago
Joe Hermaszewski c3b35f21f7 lib: Add composeManyExtensions 4 years ago
Etienne Laurin d7464ab4bb lib.splitString: use builtin.split 4 years ago
Silvan Mosberger 05e4d371ef
lib/generators.toPretty: Print [] and {} compactly 4 years ago
Silvan Mosberger d0be9e9810
lib/generators.toPretty: Switch away from δ and λ 4 years ago
Silvan Mosberger 073e9b2aed
lib/generators.toPretty: Improved string printing, handling newlines 4 years ago
Silvan Mosberger 47f2eb89c1
lib/generators.toPretty: Implement multiline printing 4 years ago
Silvan Mosberger 0f6231702f
lib/generators.toPretty: Only quote attribute names if necessary 4 years ago
Silvan Mosberger f320dbae41
lib/tests: Add test for freeform option docs 4 years ago
Bas van Dijk 6e7822b8f3 lib: toHex -> toHexString & toBase -> toBaseDigits 4 years ago
Bas van Dijk 00022fbeda lib: add the toHex and toBase utility functions 4 years ago
Silvan Mosberger 4b206ac83b
lib/strings: Add sanitizeDerivationName function 4 years ago
Silvan Mosberger 575354babf
lib/generators: Add toINI option for duplicate keys 4 years ago
Eelco Dolstra a274da605d lib/tests/misc.nix: Fix dependency on currentSystem 4 years ago
Profpatsch b2654c226a lib/cli,lib/tests/misc: somewhat more standard formatting 4 years ago
Profpatsch 582354d3b6 lib/cli: encodeGNUCommandLine -> toGNUCommandLineShell 4 years ago
Gabriel Gonzalez 6d584c2614 Factor out a `toGNUCommandLine` utility 4 years ago
Gabriel Gonzalez 5edd4dd44c Use a more realistic example that exercises all encodings 4 years ago
Gabriel Gonzalez 693096d283 Make behavior of `encodeGNUCommandLine` customizable 4 years ago
Gabriel Gonzalez 8c6a05c8c9 Rename `renderOptions` to `encodeGNUCommandLine` 4 years ago
Gabriel Gonzalez 183a99734f Add `pkgs.lib.renderOptions` 4 years ago
Profpatsch 8252861507 lib/trivial: add `pipe` function 5 years ago
Joachim Fasting 2d4352b1ae
lib: basic tests for lib.versions 5 years ago
Frederik Rietdijk c6e043d57c Remove composableDerivation, closes #18763 5 years ago
Tim Cuthbertson d984c55383 lib.isStorePath: fix `false` result when passed a path object 6 years ago
Léo Gaspard 455e0ed885 generators: make toPretty handle floats correctly 6 years ago
Silvan Mosberger afd8620621
lib/tests: Add overrideExisting tests 6 years ago
Profpatsch d817452e29 lib/recursiveUpdateUntil: add a test & release note for fix 6 years ago
volth 87f5930c3f [bot]: remove unreferenced code 6 years ago