Skip to content

Commit c84b0b5

Browse files
authored
Nix: Note the nix: option
1 parent 5d3cb48 commit c84b0b5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

user/languages/nix.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ The following command line tools are available in the Nix environment:
4646

4747
## Default Nix Version
4848

49-
This installs the current version of Nix using https://nixos.org/nix/install. In the future, it may be possible to configure different versions with `.travis.yml`.
49+
This installs Nix 2.0.4 using https://nixos.org/releases/nix-2.0.4/install. You may specify a different version of Nix installer with the `nix:` key in your `.travis.yml`:
50+
51+
```yml
52+
language: nix
53+
nix: 2.0.4
54+
```
55+
56+
> Note: at this time not all versions will successfully install, and you can only specify a specific version equal to or greater than 2.0.4.
5057

5158
## Default Target
5259

0 commit comments

Comments
 (0)