nixos/image: fix documentation build
literalExpression triggers the following error when building the manual: Cacheable portion of option doc build failed. Usually this means that an option attribute that ends up in documentation (eg `default` or `description`) depends on the restricted module arguments `config` or `pkgs`.
This commit is contained in:
parent
63678e9f3d
commit
ea3ca0b1e3
@ -90,9 +90,7 @@ in
|
||||
|
||||
package = lib.mkPackageOption pkgs "systemd-repart" {
|
||||
default = "systemd";
|
||||
example = lib.literalExpression ''
|
||||
pkgs.systemdMinimal.override { withCryptsetup = true; }
|
||||
'';
|
||||
example = "pkgs.systemdMinimal.override { withCryptsetup = true; }";
|
||||
};
|
||||
|
||||
partitions = lib.mkOption {
|
||||
|
Loading…
Reference in New Issue
Block a user