diff --git a/nixos/modules/services/system/nscd.nix b/nixos/modules/services/system/nscd.nix index c9f2a60a31df..0caebc8ce90a 100644 --- a/nixos/modules/services/system/nscd.nix +++ b/nixos/modules/services/system/nscd.nix @@ -38,6 +38,11 @@ in default = if pkgs.stdenv.hostPlatform.libc == "glibc" then pkgs.stdenv.cc.libc.bin else pkgs.glibc.bin; + defaultText = literalExample '' + if pkgs.stdenv.hostPlatform.libc == "glibc" + then pkgs.stdenv.cc.libc.bin + else pkgs.glibc.bin; + ''; description = "package containing the nscd binary to be used by the service"; };