aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/opt-common.md
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-08-04 11:36:32 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-08-04 11:59:25 +0200
commit499ed265088948e823c83cc95d1097a6362d205b (patch)
tree166e7120f577381fdddb5396c1881aae5e1a3bd0 /doc/manual/src/command-ref/opt-common.md
parent075bf6e5565aff9fba0ea02f3333c82adf4dccee (diff)
manual: remove "Writing Nix Expressions" chapter
it is out of date, all over the place in level of detail, is really about `nixpkgs`, and in general instructions should not be part of a reference manual. also: - update redirects and internal links - use "Nix language" consistently
Diffstat (limited to 'doc/manual/src/command-ref/opt-common.md')
-rw-r--r--doc/manual/src/command-ref/opt-common.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/src/command-ref/opt-common.md b/doc/manual/src/command-ref/opt-common.md
index 51d7de18a..e612c416f 100644
--- a/doc/manual/src/command-ref/opt-common.md
+++ b/doc/manual/src/command-ref/opt-common.md
@@ -145,7 +145,7 @@ Most Nix commands accept the following command-line options:
expression evaluator will automatically try to call functions that
it encounters. It can automatically call functions for which every
argument has a [default
- value](../expressions/language-constructs.md#functions) (e.g.,
+ value](../language/constructs.md#functions) (e.g.,
`{ argName ? defaultValue }: ...`). With `--arg`, you can also
call functions that have arguments without a default value (or
override a default value). That is, if the evaluator encounters a
@@ -164,7 +164,7 @@ Most Nix commands accept the following command-line options:
So if you call this Nix expression (e.g., when you do `nix-env -iA
pkgname`), the function will be called automatically using the
- value [`builtins.currentSystem`](../expressions/builtins.md) for
+ value [`builtins.currentSystem`](../language/builtins.md) for
the `system` argument. You can override this using `--arg`, e.g.,
`nix-env -iA pkgname --arg system \"i686-freebsd\"`. (Note that
since the argument is a Nix string literal, you have to escape the