diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:05:52 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:06:42 +0200 |
| commit | 44da835ac40dab5fd231298b59d83487382d2fab (patch) | |
| tree | 38759adb4565c164518441b6759960e11f1e61c1 /modules/nix/default.nix | |
| parent | 8dfeb92ec1b217898f9cf9f64421120b2a20fed4 (diff) | |
add forward compatibility for literalExample deprecation
Fixes #367
Diffstat (limited to 'modules/nix/default.nix')
| -rw-r--r-- | modules/nix/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 09b4e63..334243e 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -48,7 +48,7 @@ in type = types.either types.package types.path; default = pkgs.nix; defaultText = "pkgs.nix"; - example = literalExample "pkgs.nixUnstable"; + example = literalExpression "pkgs.nixUnstable"; description = '' This option specifies the package or profile that contains the version of Nix to use throughout the system. To keep the version of nix originally installed the default profile can be used. @@ -366,7 +366,7 @@ in flake = mkOption { type = types.unspecified; default = null; - example = literalExample "nixpkgs"; + example = literalExpression "nixpkgs"; description = '' The flake input to which <option>from></option> is to be rewritten. ''; |
