Skip to content

Commit b61b307

Browse files
committed
Remove references to building from the source tarball
1 parent b8532c9 commit b61b307

File tree

4 files changed

+12
-26
lines changed

4 files changed

+12
-26
lines changed

doc/manual/src/installation/building-source.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,16 @@
11
# Building Nix from Source
22

3-
After unpacking or checking out the Nix sources, issue the following
4-
commands:
3+
After cloning Nix's Git repository, issue the following commands:
54

65
```console
6+
$ ./bootstrap.sh
77
$ ./configure options...
88
$ make
99
$ make install
1010
```
1111

1212
Nix requires GNU Make so you may need to invoke `gmake` instead.
1313

14-
When building from the Git repository, these should be preceded by the
15-
command:
16-
17-
```console
18-
$ ./bootstrap.sh
19-
```
20-
2114
The installation path can be specified by passing the `--prefix=prefix`
2215
to `configure`. The default installation directory is `/usr/local`. You
2316
can change this to any location you like. You must have write permission
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Installing Nix from Source
22

3-
If no binary package is available, you can download and compile a source
4-
distribution.
3+
If no binary package is available or if you want to hack on Nix, you
4+
can build Nix from its Git repository.

doc/manual/src/installation/obtaining-source.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
# Obtaining a Source Distribution
1+
# Obtaining the Source
22

3-
The source tarball of the most recent stable release can be downloaded
4-
from the [Nix homepage](http://nixos.org/nix/download.html). You can
5-
also grab the [most recent development
6-
release](http://hydra.nixos.org/job/nix/master/release/latest-finished#tabs-constituents).
7-
8-
Alternatively, the most recent sources of Nix can be obtained from its
9-
[Git repository](https://github.com/NixOS/nix). For example, the
10-
following command will check out the latest revision into a directory
11-
called `nix`:
3+
The most recent sources of Nix can be obtained from its [Git
4+
repository](https://github.com/NixOS/nix). For example, the following
5+
command will check out the latest revision into a directory called
6+
`nix`:
127

138
```console
149
$ git clone https://github.com/NixOS/nix

doc/manual/src/installation/prerequisites-source.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
- GNU Autoconf (<https://www.gnu.org/software/autoconf/>) and the
44
autoconf-archive macro collection
5-
(<https://www.gnu.org/software/autoconf-archive/>). These are only
6-
needed to run the bootstrap script, and are not necessary if your
7-
source distribution came with a pre-built `./configure` script.
5+
(<https://www.gnu.org/software/autoconf-archive/>). These are
6+
needed to run the bootstrap script.
87

98
- GNU Make.
109

@@ -52,8 +51,7 @@
5251
you need version 2.5.35, which is available on
5352
[SourceForge](http://lex.sourceforge.net/). Slightly older versions
5453
may also work, but ancient versions like the ubiquitous 2.5.4a
55-
won't. Note that these are only required if you modify the parser or
56-
when you are building from the Git repository.
54+
won't.
5755

5856
- The `libseccomp` is used to provide syscall filtering on Linux. This
5957
is an optional dependency and can be disabled passing a

0 commit comments

Comments
 (0)