summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-03-29 22:40:51 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-03-29 22:40:51 +0200
commit7b028e944b78d66978c7c9ffa372e41ac4e7989f (patch)
tree365bb1aa074e9f90acb84dcecd222b258b640a41
parenta8847b28e78db2aeda851e77dd811139ba1375ed (diff)
nix: use literalExample for package
-rw-r--r--modules/nix/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix
index c18482b..082649d 100644
--- a/modules/nix/default.nix
+++ b/modules/nix/default.nix
@@ -55,7 +55,7 @@ in
type = types.either types.package types.path;
default = pkgs.nix;
defaultText = "pkgs.nix";
- example = "pkgs.nixUnstable";
+ example = literalExample "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.