diff --git a/options.xhtml b/options.xhtml index 98682a42f..dad49c462 100644 --- a/options.xhtml +++ b/options.xhtml @@ -38028,17 +38028,25 @@ strings concatenated with ā€œ\nā€

-

An attribute set that maps an environment variable to a shell interpreted string.

+

Environment variables to be set.

Inline values can be set with lib.hm.nushell.mkNushellInline.

Type: -attribute set of string

+attribute set of (null or (Nushell inline value) or boolean or signed integer or floating point number or string or path or (attribute set of Nushell values) or (list of Nushell values))

Default: { }

Example:

{
   FOO = "BAR";
+  LIST_VALUE = [ "foo" "bar" ];
+  NU_LIB_DIRS = lib.concatStringsSep ":" [ ./scripts ];
+  PROMPT_COMMAND = lib.hm.nushell.mkNushellInline ''{|| "> "}'';
+  ENV_CONVERSIONS.PATH = {
+    from_string = lib.hm.nushell.mkNushellInline "{|s| $s | split row (char esep) }";
+    to_string = lib.hm.nushell.mkNushellInline "{|v| $v | str join (char esep) }";
+  };
 }
+
 

Declared by: