treewide: replace literalExample with literalExpression

This commit is contained in:
Tobias Happ 2022-10-26 11:21:48 +02:00
parent 27c206f57a
commit 5ebbbe418a
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, ... }: { config, lib, pkgs, ... }:
@ -76,7 +76,7 @@ in
etc = mkOption { etc = mkOption {
type = types.loaOf fileType; type = types.loaOf fileType;
default = { }; default = { };
example = literalExample '' example = literalExpression ''
{ {
example-configuration-file = { example-configuration-file = {
source = "/nix/store/.../etc/dir/file.conf.example"; source = "/nix/store/.../etc/dir/file.conf.example";

View file

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