Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nora Puchreiner
Nix
Commits
78760270
Unverified
Commit
78760270
authored
5 years ago
by
Eelco Dolstra
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3193 from matthewbauer/patch-11
Update man to show that nix-shell allows --arg
parents
78b8203e
f1d4ba2a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/manual/command-ref/opt-common.xml
+4
-3
4 additions, 3 deletions
doc/manual/command-ref/opt-common.xml
with
4 additions
and
3 deletions
doc/manual/command-ref/opt-common.xml
+
4
−
3
View file @
78760270
...
...
@@ -243,9 +243,10 @@
<varlistentry><term><option>
--arg
</option>
<replaceable>
name
</replaceable>
<replaceable>
value
</replaceable></term>
<listitem><para>
This option is accepted by
<command>
nix-env
</command>
,
<command>
nix-instantiate
</command>
and
<command>
nix-build
</command>
. When evaluating Nix expressions, the
expression evaluator will automatically try to call functions that
<command>
nix-env
</command>
,
<command>
nix-instantiate
</command>
,
<command>
nix-shell
<
/command and
<command>
nix-build
</command>
.
When evaluating Nix expressions, the expression evaluator will
automatically try to call functions that
it encounters. It can automatically call functions for which every
argument has a
<link
linkend=
'ss-functions'
>
default value
</link>
(e.g.,
<literal>
{
<replaceable>
argName
</replaceable>
?
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment