diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-07-18 08:48:13 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-07-20 15:46:28 +0100 |
commit | f0100f55909d00f15bfdbef89d6cdcf6c38b2f59 (patch) | |
tree | e698b6ccc9c8b75a1505ac450274387aad263f63 /README.md | |
parent | a79b6ddaa5dd5960da845d1b8d3c80601cd918a4 (diff) |
README: improve development docs
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 3 insertions, 22 deletions
@@ -12,7 +12,7 @@ for more details. On Linux and macOS the easiest way to Install Nix is to run the following shell command (as a user other than root): -``` +```console $ curl -L https://nixos.org/nix/install | sh ``` @@ -20,27 +20,8 @@ Information on additional installation methods is available on the [Nix download ## Building And Developing -### Building Nix - -You can build Nix using one of the targets provided by [release.nix](./release.nix): - -``` -$ nix-build ./release.nix -A build.aarch64-linux -$ nix-build ./release.nix -A build.x86_64-darwin -$ nix-build ./release.nix -A build.i686-linux -$ nix-build ./release.nix -A build.x86_64-linux -``` - -### Development Environment - -You can use the provided `shell.nix` to get a working development environment: - -``` -$ nix-shell -$ ./bootstrap.sh -$ ./configure -$ make -``` +See our [Hacking guide](hydra.nixos.org/job/nix/master/build.x86_64-linux/latest/download-by-type/doc/manual#chap-hacking) in our manual for instruction on how to +build nix from source with nix-build or how to get a development environment. ## Additional Resources |