depot/lib/deprecated
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00
..
misc.nix Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce 2024-11-10 23:59:47 +00:00
README.md Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce 2024-11-10 23:59:47 +00:00

lib/deprecated

Do not add any new functions to this directory.

This directory contains the lib.misc sublibrary, which - as a location - is deprecated. Furthermore, some of the functions inside are of dubious utility, and should perhaps be avoided, while some functions may still be needed.

This directory does not play a role in the deprecation process for library functions. They should be deprecated in place, by putting a lib.warn or lib.warnIf call around the function.