From b2bee3da9669bab2827c33c484f71a83b14976d6 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 6 Mar 2019 23:02:03 +0800 Subject: [PATCH] manual: use artiq-env package with nix-env The wrapper hack used by nix-env when installing a Python library directly breaks when Python subprocesses are created. --- doc/manual/installing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/installing.rst b/doc/manual/installing.rst index 1b7649ff3..883673197 100644 --- a/doc/manual/installing.rst +++ b/doc/manual/installing.rst @@ -40,7 +40,7 @@ Nix won't install packages without verifying their cryptographic signature. Add substituters = https://cache.nixos.org https://nixbld.m-labs.hk trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc= -The easiest way to obtain ARTIQ is then to install it into the user environment with ``$ nix-env -f "" -iA artiq``. This provides a minimal installation of ARTIQ where the usual commands (``artiq_master``, ``artiq_dashboard``, ``artiq_run``, etc.) are available. +The easiest way to obtain ARTIQ is then to install it into the user environment with ``$ nix-env -f "" -iA artiq-env``. This provides a minimal installation of ARTIQ where the usual commands (``artiq_master``, ``artiq_dashboard``, ``artiq_run``, etc.) are available. .. note:: If you are getting the error message ``file 'm-labs' was not found in the Nix search path``, you are probably encountering `this Nix bug `_. As a workaround, enter the command ``$ export NIX_PATH=~/.nix-defexpr/channels:$NIX_PATH`` and try again.