- Edited
On Ubuntu 22.04.5 LTS, I ran the following:
sh <(curl -L https://nixos.org/nix/install) --no-daemon
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
git clone https://github.com/m-labs/artiq.git ~/workspace/artiq
cd ~/workspace/artiq && git checkout release-7
nix develop
- I accepted all 6 prompts about the flake's config options and permanently marking them as trusted with
y
+ Enter. (For what this means, check the Artiq manual: Installing via Nix (Linux): “Do you want to allow configuration setting… (y/N)?”.) git clone https://git.m-labs.hk/M-Labs/artiq-zynq.git ~/workspace/artiq-zynq
cd ~/workspace/artiq-zynq && git checkout release-7
nix develop
Everything went well until step no. 9. After I ran nix develop
in step no. 10, my pc started by building a shit-load of packages from source and it took like 1-2 hours. This is what it looked like:
Questions:
- Doesn't M-Labs provide pre-compiled nix packages for artiq-zynq?
- If yes, why did nix not ask me about accepting the flake's config options in step no. 10? And why didn't it remember that I had already accepted them and permanently marked them as trusted in step no. 7?