summaryrefslogtreecommitdiff
path: root/modules/environment
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2021-10-23 15:05:52 +0200
committerDaiderd Jordan <daiderd@gmail.com>2021-10-23 15:06:42 +0200
commit44da835ac40dab5fd231298b59d83487382d2fab (patch)
tree38759adb4565c164518441b6759960e11f1e61c1 /modules/environment
parent8dfeb92ec1b217898f9cf9f64421120b2a20fed4 (diff)
add forward compatibility for literalExample deprecation
Fixes #367
Diffstat (limited to 'modules/environment')
-rw-r--r--modules/environment/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix
index eed1604..601b0ca 100644
--- a/modules/environment/default.nix
+++ b/modules/environment/default.nix
@@ -19,7 +19,7 @@ in
environment.systemPackages = mkOption {
type = types.listOf types.package;
default = [];
- example = literalExample "[ pkgs.curl pkgs.vim ]";
+ example = literalExpression "[ pkgs.curl pkgs.vim ]";
description = ''
The set of packages that appear in
/run/current-system/sw. These packages are