mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 00:39:45 +01:00
deploy: 628b15d275
This commit is contained in:
parent
2f755ed86c
commit
a39248a9b9
1 changed files with 10 additions and 2 deletions
|
@ -38028,17 +38028,25 @@ strings concatenated with “\n”</p>
|
||||||
</span>
|
</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p>An attribute set that maps an environment variable to a shell interpreted string.</p>
|
<p>Environment variables to be set.</p><p>Inline values can be set with <code class="literal">lib.hm.nushell.mkNushellInline</code>.</p>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Type:</em></span>
|
<p><span class="emphasis"><em>Type:</em></span>
|
||||||
attribute set of string</p>
|
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))</p>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Default:</em></span>
|
<p><span class="emphasis"><em>Default:</em></span>
|
||||||
<code class="literal">{ }</code></p>
|
<code class="literal">{ }</code></p>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
|
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
|
||||||
FOO = "BAR";
|
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) }";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||||
|
|
Loading…
Reference in a new issue