summaryrefslogtreecommitdiff
path: root/lib/versions.nix (follow)
Commit message (Expand)AuthorAgeFilesLines
* Format: lib/versions.nixJohannes Kirschbauer2025-02-121-11/+0
* Docs: migrate format of comments to doc-commentsJohannes Kirschbauer2025-02-121-28/+115
* treewide: format all inactive Nix files•••After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7 result/bin/apply-formatting $NIXPKGS_PATH Silvan Mosberger2024-12-101-28/+36
* lib.versions: Remove unneeded polyfill•••Nix 2.3 (the minimum version needed to evaluate Nixpkgs) supports these, so no need to keep them around. Silvan Mosberger2024-02-091-1/+1
* lib/versions: add `pad`•••Pad a version string with zeros to match a given number of components. Naïm Favier2022-12-211-0/+15
* lib/versions: expose splitVersionJoachim Fasting2019-09-261-5/+7
* treewide: remove redundant recvolth2019-08-281-1/+1
* lib: add versions libraryRyan Mulligan2018-03-041-0/+47