From a39248a9b93c8bb5ffba4f6f29fc128120b7835e Mon Sep 17 00:00:00 2001
From: rycee
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: