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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user