diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-09-05 11:40:29 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-09-05 11:40:29 -0400 |
commit | 51907d257cac16eb7d45a3a35a57bad69bbe8c46 (patch) | |
tree | 0213f399ecf5d8cbdd2c0142e246d81ad6790800 /pkgs/applications/editors/neovim | |
parent | 06cd7c15a3f2d990316b8c685226d8155f0304cf (diff) | |
download | nixlib-51907d257cac16eb7d45a3a35a57bad69bbe8c46.tar nixlib-51907d257cac16eb7d45a3a35a57bad69bbe8c46.tar.gz nixlib-51907d257cac16eb7d45a3a35a57bad69bbe8c46.tar.bz2 nixlib-51907d257cac16eb7d45a3a35a57bad69bbe8c46.tar.lz nixlib-51907d257cac16eb7d45a3a35a57bad69bbe8c46.tar.xz nixlib-51907d257cac16eb7d45a3a35a57bad69bbe8c46.tar.zst nixlib-51907d257cac16eb7d45a3a35a57bad69bbe8c46.zip |
stdenv, neovim: Use `lib.warn` for deprecation warnings
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r-- | pkgs/applications/editors/neovim/wrapper.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/neovim/wrapper.nix b/pkgs/applications/editors/neovim/wrapper.nix index 17cf49521f1d..568043f96687 100644 --- a/pkgs/applications/editors/neovim/wrapper.nix +++ b/pkgs/applications/editors/neovim/wrapper.nix @@ -30,7 +30,7 @@ let /* for compatibility with passing extraPythonPackages as a list; added 2018-07-11 */ compatFun = funOrList: (if builtins.isList funOrList then - (_: builtins.trace "passing a list as extraPythonPackages to the neovim wrapper is deprecated, pass a function as to python.withPackages instead" funOrList) + (_: lib.warn "passing a list as extraPythonPackages to the neovim wrapper is deprecated, pass a function as to python.withPackages instead" funOrList) else funOrList); extraPythonPackagesFun = compatFun extraPythonPackages; extraPython3PackagesFun = compatFun extraPython3Packages; |