I was tying to install ARTIQ and connect Kasli on a Linux computer (Ubuntu). I followed the manual and installed Nix, and run
$ nix-channel --add https://nixbld.m-labs.hk/channel/custom/artiq/full/artiq-full
$ nix-channel --remove nixpkgs
$ nix-channel --add https://nixos.org/channels/nixos-20.09 nixpkgs
$ nix-channel --update

But after that, I can't find the direction ~/.config/nix/ . Does that mean I need to create both the folder nix and the file nix.conf?
After I did so, I created my-artiq-env.nix at the home directory, and run it with nix-shell my-artiq-env.nix. The error was:
FAILED cirq/optimizers/decompositions_test.py::test_single_qubit_op_to_framed_phase_form_output_on_example_case
= 1 failed, 8643 passed, 1 deselected, 36 xfailed, 255 warnings in 88.11s (0:01:28) =
builder for '/nix/store/diy745pa0msky18d7861gzr3ssabc1z9-python3.8-cirq-0.8.2.drv' failed with exit code 1
cannot build derivation '/nix/store/714a7dmphcafj4bczjd2whp9avgyxcb3-python3-3.8.8-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/714a7dmphcafj4bczjd2whp9avgyxcb3-python3-3.8.8-env.drv' failed

I suppose the installation was failed because when I tried to change the ip adress:
artiq_coremgmt -D 192.168.1.70 config write -s ip 192.168.1.75
artiq_coremgmt: command not found

It would be appreciated if someone could give me advice on how to solve this problem.

Just remove cirq from the list of packages in my-artiq-env.nix. It's only there as an example and seems broken currently.

I removed all necessary packages but only left artiq-full.artiq and artiq-full.artiq-comtools, the environment was successfully created. However I received another error as I tried to play with the core language:

WARNING:artiq.coredevice.comm_kernel:Mismatch between gateware (7.7613.eb38b664.beta) and software (6.7604.040aa6fd) versions

I suppose I still need to flash the device. But once I added openocd and artiq-full.artiq-board-kasli-system variant, the environment can't be created and the errors were: (I'm quite confused because I have 2TB empty storage, how could it be full? )

/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
/etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
** Message: 06:15:05.899: Requires Linux version >= 3.19 built with CONFIG_USER_NS
** Message: 06:15:05.904: Run: sudo sysctl -w kernel.unprivileged_userns_clone=1

** (process:304): ERROR **: 06:15:05.904: main: unshare: No space left on device
/nix/store/4y965wrv3shgg2s1ca431qpbrsb4dbag-stdenv-linux/setup: line 1301: 14 Trace/breakpoint trap (core dumped) vivado -mode batch -source top_route.tcl
builder for '/nix/store/vrywm8gl607ili802fhwjv7njqww77ij-artiq-board-kasli-okinawa-6.7604.040aa6fd-vivado-checkpoint.drv' failed with exit code 133
cannot build derivation '/nix/store/kv4xh2zqkjkb47mablp7baa89axksm1q-artiq-board-kasli-okinawa-6.7604.040aa6fd-vivado-output.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/nvs9aqy9cr7s68bj72k0d8ha50q1fcgs-artiq-board-kasli-okinawa-6.7604.040aa6fd.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/j3a40lqrbp7mz2adlnc6wr2qpk2xg606-python3-3.8.8-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/j3a40lqrbp7mz2adlnc6wr2qpk2xg606-python3-3.8.8-env.drv' failed

That's an incorrect error message, all it really means is Vivado isn't installed. But you shouldn't need to recompile the bitstream anyway. Did you set nixpkgs to the correct channel?

    sb10q f

    Yes, I solved this error by creating nix.conf file in /nix. But now I can't find the path of openocd. I don't think any of the follwing is the correct path as shown in the manual. (I've added artiq-full.openocd in the shell and created the environment. It seems like I added pkgs.openocd, but actually I didn't. )

    [nix-shell:/nix/store]$ find . -name "openocd"
    ./r93hwwfs2ilfjyz3igb7ax454sc4v9cv-artiq-full/artiq-full/board-generated/fast/pkgs/openocd.nix
    ./ra2a5d4kz4vyxip06i0xq2h432qgxa7j-nixpkgs-20.09.4154.33824cdf8e4/nixpkgs/pkgs/development/tools/misc/openocd
    ./pfxkfjiqzp9dar5sa2gyylqabfiklh4p-nixpkgs-20.09.4132.52090c613ad/nixpkgs/pkgs/development/tools/misc/openocd
    ./z2q6hvv7czvzapkrdx20gcgixgnv1yrj-source/migen/build/openocd.py
    ./z8p1d2dp55xx64l554721pz2gy474x18-python3.8-migen-unstable-2021-02-08/lib/python3.8/site-packages/migen/build/openocd.py
    ./z8p1d2dp55xx64l554721pz2gy474x18-python3.8-migen-unstable-2021-02-08/lib/python3.8/site-packages/migen/build/pycache/openocd.cpython-38.pyc
    ./k5a90y2w2r1cfi271lr28l2p1zy1mf81-nixpkgs-21.05pre289536.c58b97674b1/nixpkgs/pkgs/development/tools/misc/openocd

    If you added artiq-full.openocd to your shell.nix, saved the file, and then restarted the nix-shell, then openocd should be in your PATH.

      sb10q
      Is shell.nix means my-artiq-env.nix in the manual? If so, I have rerun it for many times, and definitely saved the file, but still cannot find the correct openocd path.

      Sounds like you have some general problems with your Linux setup. Normally the which command prints an error message when it doesn't find the executable. Please get your which command working normally (I don't know how).

      On Debian which does not print an error when it does not find anything and since Ubuntu is based on Debian I would expect the same behaviour.

      @BoluFeng: can you post the content of the .nix file that you use to start the nix-shell?

        jonasmanthey
        The .nix file is just copied from the manual. I think which is still working because it shows the path when I type such like"which nix-shell", it seems that openocd is not installed.

        let

        pkgs contains the NixOS package collection. ARTIQ depends on some of them, and

        you may want some additional packages from there.

        pkgs = import <nixpkgs> {};
        artiq-full = import <artiq-full> { inherit pkgs; };
        in
        pkgs.mkShell {
        buildInputs = [
        (pkgs.python3.withPackages(ps: [

        List desired Python packages here.

            # You probably want these two.
            artiq-full.artiq
            artiq-full.artiq-comtools
            artiq-full.openocd
            # You need a board support package if and only if you intend to flash
            # a board (those packages contain only board firmware).
            # The lines below are only examples, you need to select appropriate
            # packages for your boards.
            #artiq-full.artiq-board-kc705-nist_clock
            artiq-full.artiq-board-kasli-okinawa
            #ps.paramiko  # needed if and only if flashing boards remotely (artiq_flash -H)
        
            # The NixOS package collection contains many other packages that you may find
            # interesting for your research. Here are some examples:
            #ps.pandas
            #ps.numpy
            #ps.scipy
            #ps.numba
            #(ps.matplotlib.override { enableQt = true; })
            #ps.bokeh
            #ps.cirq
            #ps.qiskit
          ]))
        
          # List desired non-Python packages here
          #artiq-full.openocd  # needed if and only if flashing boards
          # Other potentially interesting packages from the NixOS package collection:
          #pkgs.gtkwave
          #pkgs.spyder
          #pkgs.R
          #pkgs.julia
        ];

        }

        6 days later

        BoluFeng Can you elaborate on your solution? I'm currently trying to update my firmware and am encountering the same error code (and an essentially identical stack trace).

        Also, I get the following outputs:

        $ nix-channel --list
        artiq-full https://nixbld.m-labs.hk/channel/custom/artiq/full/artiq-full
        nixpkgs https://nixos.org/channels/nixos-20.09

        and

        [nix-shell:~]$ which openocd
        /nix/store/wf807zxidrca7j0bzslgm18i6gbvzxda-openocd-mlabs-0.10.0/bin/openocd

          jbroz [nix-shell:~]$ which openocd
          /nix/store/wf807zxidrca7j0bzslgm18i6gbvzxda-openocd-mlabs-0.10.0/bin/openocd

          That doesn't sound like the same problem. For the sake of clarity, can you post your shell.nix, the commands you used, and the exact error message?

            sb10q
            Sure!

            commands used:

            619  curl -L https://nixos.org/nix/install | sh
            620  nix-channel --add https://nixbld.m-labs.hk/channel/custom/artiq/full/artiq-full
            621  nix-channel --remove nixpkgs
            622  nix-channel --add https://nixos.org/channels/nixos-20.09 nixpkgs
            623  nix-channel --update
            ...
            629  nix-shell my-artiq-env.nix 

            ~/.config/nix/nix.conf

            substituters = https://cache.nixos.org https://nixbld.m-labs.hk
            trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc=

            shell.nix:

            let
              # pkgs contains the NixOS package collection. ARTIQ depends on some of them, and
              # you may want some additional packages from there.
              pkgs = import <nixpkgs> {};
              artiq-full = import <artiq-full> { inherit pkgs; };
            in
              pkgs.mkShell {
                buildInputs = [
                  (pkgs.python3.withPackages(ps: [
                    # List desired Python packages here.
            
                    # You probably want these two.
                    artiq-full.artiq
                    artiq-full.artiq-comtools
            
                    # You need a board support package if and only if you intend to flash
                    # a board (those packages contain only board firmware).
                    # The lines below are only examples, you need to select appropriate
                    # packages for your boards.
                    artiq-full.artiq-board-kasli-berkeley
            
                    #ps.paramiko  # needed if and only if flashing boards remotely (artiq_flash -H)
            
                    # The NixOS package collection contains many other packages that you may find
                    # interesting for your research. Here are some examples:
                    #ps.pandas
                    #ps.numpy
                    #ps.scipy
                    #ps.numba
                    #(ps.matplotlib.override { enableQt = true; })
                    #ps.bokeh
                    #ps.cirq
                    #ps.qiskit
                  ]))
            
                  artiq-full.openocd  # needed if and only if flashing boards
                  # List desired non-Python packages here
                  # Other potentially interesting packages from the NixOS package collection:
                  #pkgs.gtkwave
                  #pkgs.spyder
                  #pkgs.R
                  #pkgs.julia
                ];
              }

            error message

            $ nix-shell my-artiq-env.nix 
            these derivations will be built:
              /nix/store/kaj9d5dbi9j0d6mqvl67cdx917890l8n-artiq-board-kasli-berkeley-6.7605.65f0951f-vivado-checkpoint.drv
              /nix/store/nwq7h383gvdm83i5m86awr8vmgb5rb38-artiq-board-kasli-berkeley-6.7605.65f0951f-vivado-output.drv
              /nix/store/acb7jrmbwz94lh80d64d2cyw9a7rzyk4-artiq-board-kasli-berkeley-6.7605.65f0951f.drv
            building '/nix/store/kaj9d5dbi9j0d6mqvl67cdx917890l8n-artiq-board-kasli-berkeley-6.7605.65f0951f-vivado-checkpoint.drv'...
            unpacking sources
            unpacking source archive /nix/store/05s2fbg8z53q5kww7rj2sqjh5h7lqyab-artiq-board-kasli-berkeley-6.7605.65f0951f-gateware
            source root is artiq-board-kasli-berkeley-6.7605.65f0951f-gateware
            patching sources
            configuring
            no configure script, doing nothing
            building
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            /etc/profile: line 16: /opt/Xilinx/Vivado/2020.1/settings64.sh: No such file or directory
            ** Message: 23:43:31.923: Requires Linux version >= 3.19 built with CONFIG_USER_NS
            ** Message: 23:43:31.927: Run: sudo sysctl -w kernel.unprivileged_userns_clone=1
            
            ** (process:304): ERROR **: 23:43:31.927: main: unshare: No space left on device
            /nix/store/4y965wrv3shgg2s1ca431qpbrsb4dbag-stdenv-linux/setup: line 1301:    14 Trace/breakpoint trap   (core dumped) vivado -mode batch -source top_route.tcl
            builder for '/nix/store/kaj9d5dbi9j0d6mqvl67cdx917890l8n-artiq-board-kasli-berkeley-6.7605.65f0951f-vivado-checkpoint.drv' failed with exit code 133
            cannot build derivation '/nix/store/nwq7h383gvdm83i5m86awr8vmgb5rb38-artiq-board-kasli-berkeley-6.7605.65f0951f-vivado-output.drv': 1 dependencies couldn't be built
            cannot build derivation '/nix/store/acb7jrmbwz94lh80d64d2cyw9a7rzyk4-artiq-board-kasli-berkeley-6.7605.65f0951f.drv': 1 dependencies couldn't be built
            error: build of '/nix/store/acb7jrmbwz94lh80d64d2cyw9a7rzyk4-artiq-board-kasli-berkeley-6.7605.65f0951f.drv' failed

            Also, I guess I forgot to mention that I am also working with Ubuntu (most recent LTS).

              There was a major nixpkgs rebuild recently and hydra hasn't updated yet. Run this:

              nix-store -r /nix/store/bd747bqh58d7kms96kp8kmyq0a6xq87c-source  # from https://nixbld.m-labs.hk/eval/13394#tabs-inputs
              nix-shell my-artiq-env.nix -I nixpkgs=/nix/store/bd747bqh58d7kms96kp8kmyq0a6xq87c-source

              Will be properly fixed after flakes land.

                sb10q Now a different error:

                $ nix-store -r /nix/store/bd747bqh58d7kms96kp8kmyq0a6xq87c-source  # from https://nixbld.m-labs.hk/eval/13394#tabs-inputs
                these paths will be fetched (13.75 MiB download, 75.26 MiB unpacked):
                  /nix/store/bd747bqh58d7kms96kp8kmyq0a6xq87c-source
                copying path '/nix/store/bd747bqh58d7kms96kp8kmyq0a6xq87c-source' from 'https://cache.nixos.org'...
                warning: you did not specify '--add-root'; the result might be removed by the garbage collector
                /nix/store/bd747bqh58d7kms96kp8kmyq0a6xq87c-source
                $ nix-shell my-artiq-env.nix -I nixpkgs=/nix/store/bd747bqh58d7kms96kp8kmyq0a6xq87c-source
                copying path '/nix/store/l7p5fi0jkr33854a8kcz9jg6za7c4sb2-artiq-board-kasli-berkeley-6.7605.65f0951f-gateware.nar.base64' from 'https://nixbld.m-labs.hk'...
                these derivations will be built:
                  /nix/store/1bw3ww9fdskkhka0512q5zkpkzv3if8x-artiq-board-kasli-berkeley-6.7605.65f0951f.drv
                  /nix/store/cwirjkp4bi3161lc2y78650aglnx24al-python3-3.8.8-env.drv
                these paths will be fetched (32.22 MiB download, 199.71 MiB unpacked):
                  /nix/store/0j2yai99ix5pq2jwy3hjwx31s6g4dn9p-libXft-2.3.3
                  /nix/store/1daykc1r0wfh9d3r71dj5da25jvglcpr-qtwayland-5.15.2
                  /nix/store/1mp991q6kxpc297hfchixhbzmfnya9dr-libGL-1.3.2
                  /nix/store/1waaha9ax2nr660y9iz5zpdg67r2sfzj-pango-1.45.5
                  /nix/store/20lw4zx8h7yakz8l55v6dwng7cp91v0w-gsettings-desktop-schemas-3.36.1
                  /nix/store/2jrlvxb73xjyg9a3y4m5k5qmbbvlbf8q-qtbase-5.15.2
                  /nix/store/2z2xs5cy30b03kgh7094pv4kmqm81mbs-libglvnd-1.3.2
                  /nix/store/41ci1d9m4xg812gjapycxcdihpmhlwh3-libgudev-233
                  /nix/store/4h900w4zwrmmixfjvkwpwn9lqs7zgpd1-python3-3.8.8-env
                  /nix/store/4k3jj521lk92q15g5w9if8qhnz6h0yyx-epoxy-1.5.4
                  /nix/store/554hjv7zxc7kd51m41jkll07rhjm0j29-cups-2.3.3-lib
                  /nix/store/89ylj83fj84pjdy762a22q9hh277b6pl-python3.8-pyopengl-3.1.4
                  /nix/store/9jp4jqpvigndwkf2ryz5r29d7wbg20jn-xkeyboard-config-2.27
                  /nix/store/9xvlgbg8k90nmkk2wpps1iz7v4bb075a-python3.8-artiq-6.7605.65f0951f
                  /nix/store/anrbg1b2k6b14cpywxni17rpbph6gmgq-python3.8-PyQt5-5.15.2-dev
                  /nix/store/awf2ihlmkr72gkf8a0ipkgpgz35frvi2-libXtst-1.2.3
                  /nix/store/b09spvmx1myiqn7jlilsr6y4zdvspqk6-python3.8-dbus-python-1.2.16
                  /nix/store/bj34xkp7yww28gdnbizfnl17n7miyf4r-libXcursor-1.2.0
                  /nix/store/bv8qz4wq447ljqfpzw6p7aq47lf8jrb2-libXdamage-1.1.5
                  /nix/store/bzcn19w2d2j0fh0l02q4jwpdb2mkp2l9-libXxf86vm-1.1.4
                  /nix/store/cw858mlymf5ssp71jbmq5vd8r2jriqvl-qtsvg-5.15.2
                  /nix/store/d19ja0akpzzldz2csni9ahq1pzf3l2jv-libXi-1.7.10
                  /nix/store/d5ajkmis3xfhxzai14vn48h37d1vkl5l-at-spi2-core-2.36.0
                  /nix/store/dqabq6fi9yqhgbkgi27j97prq3wynp5k-libXrandr-1.5.2
                  /nix/store/f4q534xwp2wz0pypr074jiq94vbs27is-libXfixes-5.0.3
                  /nix/store/f655x17v8xajcjxwxbzwmc2qslaxnqya-libwacom-1.4.1
                  /nix/store/fa5nzgcn9cmndl0264d78spps91wy87h-qtbase-5.15.2-bin
                  /nix/store/fcr65nkrmq9hv7h1acxsdsald32acvjd-glu-9.0.1
                  /nix/store/g3l8rif8c8zcxb3mxldy4mv9gjg6zysl-qtwebchannel-5.15.2
                  /nix/store/gd73sr8avab76hrh0qip5x6v84q72pma-libXinerama-1.1.4
                  /nix/store/gfip3n33lnd4k9kkp5zdv44njyxrmdpp-gtk+3-3.24.21
                  /nix/store/gxcixyzdl3dxc54g6wrm8a7b3f4j6s89-atk-2.36.0
                  /nix/store/h0byn3x35ydvc86znhcq3x3binlablhm-at-spi2-atk-2.34.2
                  /nix/store/jk1z8scwis1hxw3m5czddlc9w23ciw51-artiq-board-kasli-berkeley-6.7605.65f0951f-vivado-output
                  /nix/store/jlpaw25s3cwv0k9nimk7gxga6844mvsd-libinput-1.16.1
                  /nix/store/jy35i7x84pvxn2ngvdq8hgpbqv76wly2-avahi-0.7
                  /nix/store/k79bjwrszxl3ki5176q9v5v8m1kx820b-qtsvg-5.15.2-bin
                  /nix/store/mcqw306z5s1pcvrzg906qwh0fd9dilg3-python3.8-pyqtgraph_qt5-0.11.0
                  /nix/store/mrycb9zzkgj0n8hlf1h5yy2wdd8m048w-qtdeclarative-5.15.2-bin
                  /nix/store/n0vfp1ij57khagq7g7l43njxqn3z8ac7-qtwayland-5.15.2-bin
                  /nix/store/n4akv2iscskj9gmsdfwaw35s2a5vjq1p-dconf-0.36.0-lib
                  /nix/store/pwfzj3437czcs4vs04nr20dn63c94f1z-dbus-1.12.20-lib
                  /nix/store/rijqazlvihgh7zvi4yam1j9jjmahjm85-cairo-1.16.0
                  /nix/store/rwzfjm8nm46x3y31lpqdl7ws5js0ka4m-libXrender-0.9.10
                  /nix/store/s58rvlhfrrb2040sj280ddbnix9wing8-freeglut-3.2.1
                  /nix/store/sc75kv2fd8vpn71wwhvr4q41vfp11laj-python3.8-dbus-python-1.2.16-dev
                  /nix/store/sdb5rvjfxg3n8pm2fawv359idibwvnad-libX11-1.6.12
                  /nix/store/ss8889im9lajbbs57ksnxadhzbg3j2rw-libXext-1.3.4
                  /nix/store/vkihakvawlkhnwzvsljg06p5w62glc7d-python3.8-qasync-0.10.0
                  /nix/store/vsjwwf2nkqmidacak18mh83n7qgg0pdx-artiq-board-kasli-berkeley-6.7605.65f0951f
                  /nix/store/wwq1yxdni7q0ygagvcyhy2yw459h4r8x-python3.8-PyQt5-5.15.2
                  /nix/store/wyqk0csmxjmnddgnd57jm9l5v7l1q271-harfbuzz-2.7.1
                  /nix/store/xhcgz5lghj272kn77bxxfvslygwaf6ky-qtdeclarative-5.15.2
                  /nix/store/xhd34m1zj4340i33d92j3rnh6y9pzs80-qtquickcontrols-5.15.2
                  /nix/store/xjxlzzxc8nkxf6a38dph5qbvypavbrgb-mesa-20.1.10
                  /nix/store/xrbddcb96mbg04hna58vypnb9i2cax30-libxkbcommon-0.10.0
                  /nix/store/xy0n1d0cqzyy5n125ar6l6n004hvbrcb-libXcomposite-0.4.5
                  /nix/store/zf82w8pc3ykxn4rjrqp4nhhkqfqr2hb5-gdk-pixbuf-2.40.0
                copying path '/nix/store/jk1z8scwis1hxw3m5czddlc9w23ciw51-artiq-board-kasli-berkeley-6.7605.65f0951f-vivado-output' from 'https://nixbld.m-labs.hk'...
                copying path '/nix/store/gxcixyzdl3dxc54g6wrm8a7b3f4j6s89-atk-2.36.0' from 'https://cache.nixos.org'...
                copying path '/nix/store/n4akv2iscskj9gmsdfwaw35s2a5vjq1p-dconf-0.36.0-lib' from 'https://cache.nixos.org'...
                copying path '/nix/store/zf82w8pc3ykxn4rjrqp4nhhkqfqr2hb5-gdk-pixbuf-2.40.0' from 'https://cache.nixos.org'...
                copying path '/nix/store/20lw4zx8h7yakz8l55v6dwng7cp91v0w-gsettings-desktop-schemas-3.36.1' from 'https://cache.nixos.org'...
                copying path '/nix/store/wyqk0csmxjmnddgnd57jm9l5v7l1q271-harfbuzz-2.7.1' from 'https://cache.nixos.org'...
                copying path '/nix/store/sdb5rvjfxg3n8pm2fawv359idibwvnad-libX11-1.6.12' from 'https://cache.nixos.org'...
                copying path '/nix/store/41ci1d9m4xg812gjapycxcdihpmhlwh3-libgudev-233' from 'https://cache.nixos.org'...
                copying path '/nix/store/pwfzj3437czcs4vs04nr20dn63c94f1z-dbus-1.12.20-lib' from 'https://cache.nixos.org'...
                copying path '/nix/store/xy0n1d0cqzyy5n125ar6l6n004hvbrcb-libXcomposite-0.4.5' from 'https://cache.nixos.org'...
                copying path '/nix/store/jy35i7x84pvxn2ngvdq8hgpbqv76wly2-avahi-0.7' from 'https://cache.nixos.org'...
                copying path '/nix/store/ss8889im9lajbbs57ksnxadhzbg3j2rw-libXext-1.3.4' from 'https://cache.nixos.org'...
                copying path '/nix/store/554hjv7zxc7kd51m41jkll07rhjm0j29-cups-2.3.3-lib' from 'https://cache.nixos.org'...
                copying path '/nix/store/f4q534xwp2wz0pypr074jiq94vbs27is-libXfixes-5.0.3' from 'https://cache.nixos.org'...
                copying path '/nix/store/d19ja0akpzzldz2csni9ahq1pzf3l2jv-libXi-1.7.10' from 'https://cache.nixos.org'...
                copying path '/nix/store/bv8qz4wq447ljqfpzw6p7aq47lf8jrb2-libXdamage-1.1.5' from 'https://cache.nixos.org'...
                copying path '/nix/store/gd73sr8avab76hrh0qip5x6v84q72pma-libXinerama-1.1.4' from 'https://cache.nixos.org'...
                copying path '/nix/store/rwzfjm8nm46x3y31lpqdl7ws5js0ka4m-libXrender-0.9.10' from 'https://cache.nixos.org'...
                copying path '/nix/store/awf2ihlmkr72gkf8a0ipkgpgz35frvi2-libXtst-1.2.3' from 'https://cache.nixos.org'...
                copying path '/nix/store/bj34xkp7yww28gdnbizfnl17n7miyf4r-libXcursor-1.2.0' from 'https://cache.nixos.org'...
                copying path '/nix/store/d5ajkmis3xfhxzai14vn48h37d1vkl5l-at-spi2-core-2.36.0' from 'https://cache.nixos.org'...
                copying path '/nix/store/0j2yai99ix5pq2jwy3hjwx31s6g4dn9p-libXft-2.3.3' from 'https://cache.nixos.org'...
                copying path '/nix/store/h0byn3x35ydvc86znhcq3x3binlablhm-at-spi2-atk-2.34.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/dqabq6fi9yqhgbkgi27j97prq3wynp5k-libXrandr-1.5.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/bzcn19w2d2j0fh0l02q4jwpdb2mkp2l9-libXxf86vm-1.1.4' from 'https://cache.nixos.org'...
                copying path '/nix/store/2z2xs5cy30b03kgh7094pv4kmqm81mbs-libglvnd-1.3.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/f655x17v8xajcjxwxbzwmc2qslaxnqya-libwacom-1.4.1' from 'https://cache.nixos.org'...
                copying path '/nix/store/rijqazlvihgh7zvi4yam1j9jjmahjm85-cairo-1.16.0' from 'https://cache.nixos.org'...
                copying path '/nix/store/fcr65nkrmq9hv7h1acxsdsald32acvjd-glu-9.0.1' from 'https://cache.nixos.org'...
                copying path '/nix/store/1mp991q6kxpc297hfchixhbzmfnya9dr-libGL-1.3.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/jlpaw25s3cwv0k9nimk7gxga6844mvsd-libinput-1.16.1' from 'https://cache.nixos.org'...
                copying path '/nix/store/4k3jj521lk92q15g5w9if8qhnz6h0yyx-epoxy-1.5.4' from 'https://cache.nixos.org'...
                copying path '/nix/store/s58rvlhfrrb2040sj280ddbnix9wing8-freeglut-3.2.1' from 'https://cache.nixos.org'...
                copying path '/nix/store/xjxlzzxc8nkxf6a38dph5qbvypavbrgb-mesa-20.1.10' from 'https://cache.nixos.org'...
                copying path '/nix/store/1waaha9ax2nr660y9iz5zpdg67r2sfzj-pango-1.45.5' from 'https://cache.nixos.org'...
                copying path '/nix/store/b09spvmx1myiqn7jlilsr6y4zdvspqk6-python3.8-dbus-python-1.2.16' from 'https://cache.nixos.org'...
                copying path '/nix/store/89ylj83fj84pjdy762a22q9hh277b6pl-python3.8-pyopengl-3.1.4' from 'https://cache.nixos.org'...
                copying path '/nix/store/sc75kv2fd8vpn71wwhvr4q41vfp11laj-python3.8-dbus-python-1.2.16-dev' from 'https://cache.nixos.org'...
                copying path '/nix/store/9jp4jqpvigndwkf2ryz5r29d7wbg20jn-xkeyboard-config-2.27' from 'https://cache.nixos.org'...
                copying path '/nix/store/xrbddcb96mbg04hna58vypnb9i2cax30-libxkbcommon-0.10.0' from 'https://cache.nixos.org'...
                copying path '/nix/store/gfip3n33lnd4k9kkp5zdv44njyxrmdpp-gtk+3-3.24.21' from 'https://cache.nixos.org'...
                copying path '/nix/store/2jrlvxb73xjyg9a3y4m5k5qmbbvlbf8q-qtbase-5.15.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/fa5nzgcn9cmndl0264d78spps91wy87h-qtbase-5.15.2-bin' from 'https://cache.nixos.org'...
                copying path '/nix/store/xhcgz5lghj272kn77bxxfvslygwaf6ky-qtdeclarative-5.15.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/cw858mlymf5ssp71jbmq5vd8r2jriqvl-qtsvg-5.15.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/mrycb9zzkgj0n8hlf1h5yy2wdd8m048w-qtdeclarative-5.15.2-bin' from 'https://cache.nixos.org'...
                copying path '/nix/store/xhd34m1zj4340i33d92j3rnh6y9pzs80-qtquickcontrols-5.15.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/k79bjwrszxl3ki5176q9v5v8m1kx820b-qtsvg-5.15.2-bin' from 'https://cache.nixos.org'...
                copying path '/nix/store/1daykc1r0wfh9d3r71dj5da25jvglcpr-qtwayland-5.15.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/g3l8rif8c8zcxb3mxldy4mv9gjg6zysl-qtwebchannel-5.15.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/n0vfp1ij57khagq7g7l43njxqn3z8ac7-qtwayland-5.15.2-bin' from 'https://cache.nixos.org'...
                copying path '/nix/store/wwq1yxdni7q0ygagvcyhy2yw459h4r8x-python3.8-PyQt5-5.15.2' from 'https://cache.nixos.org'...
                copying path '/nix/store/anrbg1b2k6b14cpywxni17rpbph6gmgq-python3.8-PyQt5-5.15.2-dev' from 'https://cache.nixos.org'...
                copying path '/nix/store/mcqw306z5s1pcvrzg906qwh0fd9dilg3-python3.8-pyqtgraph_qt5-0.11.0' from 'https://nixbld.m-labs.hk'...
                copying path '/nix/store/vkihakvawlkhnwzvsljg06p5w62glc7d-python3.8-qasync-0.10.0' from 'https://nixbld.m-labs.hk'...
                copying path '/nix/store/9xvlgbg8k90nmkk2wpps1iz7v4bb075a-python3.8-artiq-6.7605.65f0951f' from 'https://nixbld.m-labs.hk'...
                error 10 while decompressing xz file
                cannot build derivation '/nix/store/cwirjkp4bi3161lc2y78650aglnx24al-python3-3.8.8-env.drv': 1 dependencies couldn't be built
                error: build of '/nix/store/cwirjkp4bi3161lc2y78650aglnx24al-python3-3.8.8-env.drv' failed

                I have never seen this issue. Could be some possibly intermittent network connectivity issues, please try again.
                Also the Hydra builds have updated now, you do not need the -I nixpkgs=... hack anymore. And run another channel update.