nixpkgs/lib
Bas van Dijk b454af298d
Revert "Remove types.functionTo."
This reverts commit 4ff1ab5a56.

We need this to type options like:
services.xserver.windowManager.xmonad.extraPackages that specify functions that
take an attribute set containing packages / plugins and return a list containing
a selection of the values in this set.

The reason we need a dedicated type for this is to have the correct merge
behaviour. Without the functionTo type merging multiple function option
definitions results in an evaluation error. The functionTo type merges
definitions by returning a new function that applies the functions of all the
definitions to the given input and merges the result.

(cherry picked from commit 7ed41ff5e7e633dd64866398ee497ac02736a3a5)
2021-01-24 16:56:33 +01:00
..
systems Merge pull request #100687 from spease/add-newer-xcode-hashes 2021-01-23 20:04:50 -06:00
tests Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
asserts.nix
attrsets.nix
cli.nix
customisation.nix
debug.nix
default.nix
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
generators.nix
kernel.nix
licenses.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
lists.nix
meta.nix
minver.nix
modules.nix lib/modules: Set submodule type for renamed option sets 2021-01-21 21:57:48 +01:00
options.nix Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
sources.nix
strings-with-deps.nix
strings.nix
trivial.nix
types.nix Revert "Remove types.functionTo." 2021-01-24 16:56:33 +01:00
versions.nix
zip-int-bits.nix