nixos/nscd: Fix lib.literalExample deprecation
The NixOS evaluation would complain: trace: warning: literalExample is deprecated, use literalExpression instead, or use literalDocBook for a non-Nix description.
This commit is contained in:
parent
5f3eeb9c52
commit
6b738bce80
|
@ -38,7 +38,7 @@ in
|
|||
default = if pkgs.stdenv.hostPlatform.libc == "glibc"
|
||||
then pkgs.stdenv.cc.libc.bin
|
||||
else pkgs.glibc.bin;
|
||||
defaultText = literalExample ''
|
||||
defaultText = lib.literalExpression ''
|
||||
if pkgs.stdenv.hostPlatform.libc == "glibc"
|
||||
then pkgs.stdenv.cc.libc.bin
|
||||
else pkgs.glibc.bin;
|
||||
|
|
Loading…
Reference in a new issue