mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
10 lines
349 B
Markdown
10 lines
349 B
Markdown
|
---
|
||
|
synopsis: "CLI options `--arg-from-file` and `--arg-from-stdin`"
|
||
|
prs: 10122
|
||
|
---
|
||
|
|
||
|
The new CLI option `--arg-from-file` *name* *path* passes the contents
|
||
|
of file *path* as a string value via the function argument *name* to a
|
||
|
Nix expression. Similarly, the new option `--arg-from-stdin` *name*
|
||
|
reads the contents of the string from standard input.
|