treewide: replace literalExample with literalExpression

This commit is contained in:
Tobias Happ 2022-10-26 11:21:48 +02:00
parent 27c206f57a
commit f71e4d96ff
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# Copyright (c) 2019-2020, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
{ config, lib, pkgs, ... }:
@ -76,7 +76,7 @@ in
etc = mkOption {
type = types.loaOf fileType;
default = { };
example = literalExample ''
example = literalExpression ''
{
example-configuration-file = {
source = "/nix/store/.../etc/dir/file.conf.example";

View file

@ -117,7 +117,7 @@ in
overlays = mkOption {
default = null;
example = literalExample
example = literalExpression
''
[ (self: super: {
openssh = super.openssh.override {