Skip to content

Commit

Permalink
do not indent markdown list
Browse files Browse the repository at this point in the history
  • Loading branch information
fricklerhandwerk committed May 11, 2023
1 parent 4539ab5 commit 2ef7f14
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions doc/manual/src/language/builtin-constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

Here are the constants built into the Nix expression evaluator:

- `builtins`\
The set `builtins` contains all the built-in functions and values.
You can use `builtins` to test for the availability of features in
the Nix installation, e.g.,
```nix
if builtins ? getEnv then builtins.getEnv "PATH" else ""
```
This allows a Nix expression to fall back gracefully on older Nix
installations that don’t have the desired built-in function.
- `builtins`\
The set `builtins` contains all the built-in functions and values.
You can use `builtins` to test for the availability of features in
the Nix installation, e.g.,

```nix
if builtins ? getEnv then builtins.getEnv "PATH" else ""
```

This allows a Nix expression to fall back gracefully on older Nix
installations that don’t have the desired built-in function.

- [`builtins.currentSystem`]{#builtins-currentSystem}\
The built-in value `currentSystem` evaluates to the Nix platform
identifier for the Nix installation on which the expression is being
evaluated, such as `"i686-linux"` or `"x86_64-darwin"`.
- [`builtins.currentSystem`]{#builtins-currentSystem}\
The built-in value `currentSystem` evaluates to the Nix platform
identifier for the Nix installation on which the expression is being
evaluated, such as `"i686-linux"` or `"x86_64-darwin"`.

0 comments on commit 2ef7f14

Please sign in to comment.