NixOS/nixpkgs — pull request #3866 by nbp (2014-08-29 20:49:05+00:00)
Title: Remove types.functionTo

A function is not a trivial concept, and the default value cannot be properly documented. As such, we should avoid using them as value of options.

The option `environment.profileRelativeEnvVars` represents the most common use case of `environment.profileVariables`, without using `types.functionTo`.