summaryrefslogtreecommitdiff
path: root/lib/deprecated (follow)
Commit message (Expand)AuthorAgeFilesLines
* lib: remove mapAttrsFlatten after a year•••It was deprecated in b9c51260d0620ffb0ef59d09b85d1f9d7b979b8c. Philip Taron2025-10-131-7/+0
* lib/*: fix docs to use "returns" instead of "return" (#442388)Johannes Kirschbauer2025-10-061-2/+2
|\
| * lib/*: fix docs to use "returns" instead of "return"Felix Buehler2025-09-121-2/+2
* | lib: remove optional builtins prefixes from prelude functions•••Remove optional builtins prefixes from prelude functions by running: builtins=( abort baseNameOf break derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true ) fd --type file . lib --exec-batch sed --in-place --regexp-extended " s/\<builtins\.($( printf '%s\n' "${builtins[@]}" | paste --delimiter '|' --serial - ))\>/\1/g " nix fmt NAHO2025-09-301-2/+2
|/
* treewide: run nixfmt 1.0.0Wolfgang Walther2025-07-241-2/+5
* **/README.md: one sentence per line•••As documented in doc/README.md. Wolfgang Walther2025-06-291-2/+1
* treewide: Format all Nix files•••Format all Nix files using the officially approved formatter, making the CI check introduced in the previous commit succeed: nix-build ci -A fmt.check This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153) of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166). This commit will lead to merge conflicts for a number of PRs, up to an estimated ~1100 (~33%) among the PRs with activity in the past 2 months, but that should be lower than what it would be without the previous [partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537). Merge conflicts caused by this commit can now automatically be resolved while rebasing using the [auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase). If you run into any problems regarding any of this, please reach out to the [formatting team](https://nixos.org/community/teams/formatting/) by pinging @NixOS/nix-formatting. Silvan Mosberger2025-04-011-188/+302
* lib/deprecated: print deprecation warning for mapAttrsFlattenIvan Trubach2024-07-241-2/+2
* lib/deprecated: alias mapAttrsFlatten to mapAttrsToList•••These functions have identical implementation except for argument names. Ivan Trubach2024-07-191-2/+3
* 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 Hensing2024-04-212-0/+385