mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue