Add a link to nix-shell

This commit is contained in:
Kovid Goyal 2020-10-31 09:10:50 +05:30
parent 5a987a162e
commit 17375f0be2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -81,11 +81,13 @@ you might have to rebuild the app.
Build and run from source with Nix Build and run from source with Nix
------------------------------------------- -------------------------------------------
On NixOS or any other Linux or macOS system with the Nix package manager installed, On NixOS or any other Linux or macOS system with the Nix package manager
execute ``./nix-shell`` to create the correct environment to build kitty or use installed, execute `nix-shell
``./nix-shell --pure`` instead to eliminate most of the influence of the outside system, <https://nixos.org/guides/nix-pills/developing-with-nix-shell.html>`_ to create
e.g. globally installed packages. ``nix-shell`` will automatically fetch all required the correct environment to build kitty or use ``nix-shell --pure`` instead to
dependencies and make them available in the newly spawned shell. eliminate most of the influence of the outside system, e.g. globally installed
packages. ``nix-shell`` will automatically fetch all required dependencies and
make them available in the newly spawned shell.
Then proceed with ``make`` or ``make app`` according to the platform specific instructions above. Then proceed with ``make`` or ``make app`` according to the platform specific instructions above.