artiq/nix
Stewart Mackenzie e48d440fd4 Problem: ARTIQ setup via conda or src is complex
Solution: Provide a single command to download, compile and install
dependencies.
2018-08-12 13:04:40 +00:00
..
README.rst Problem: ARTIQ setup via conda or src is complex 2018-08-12 13:04:40 +00:00
artiq.nix Problem: ARTIQ setup via conda or src is complex 2018-08-12 13:04:40 +00:00
binutils-or1k.nix Problem: ARTIQ setup via conda or src is complex 2018-08-12 13:04:40 +00:00
default.nix Problem: ARTIQ setup via conda or src is complex 2018-08-12 13:04:40 +00:00
fetch-llvm-clang.nix Problem: ARTIQ setup via conda or src is complex 2018-08-12 13:04:40 +00:00
llvm-or1k.nix Problem: ARTIQ setup via conda or src is complex 2018-08-12 13:04:40 +00:00
llvmlite.nix Problem: ARTIQ setup via conda or src is complex 2018-08-12 13:04:40 +00:00

README.rst

Install ARTIQ via the Nix Package Manager
===========================

Nix does not support windows.

* Install the nix package manager

  * many linux distros already have a package for the `nix package manager <http://nixos.org/nix/>`_

    * for example: $ apt-get install nix

  * if you would like to install via sh (please be sure you `understand <https://www.seancassidy.me/dont-pipe-to-your-shell.html>`_ the dangers involved when curl piping to sh. Also ensure you have read the contents of the script and feel comfortable executing it. Otherwise there is the `manual <http://nixos.org/nix/manual/>`_)

    * $ curl https://nixos.org/nix/install | sh

    * $ source ~/.nix-profile/etc/profile.d/nix.sh

* $ git clone github.com/m-labs/artiq
* $ cd artiq/nix
* $ nix-env -i -f default.nix

The above command will setup your entire environment.