I was trying to install artiq on WSL Linux subsystem following the instruction in ARTIQ Manual, and encountered the following problem: after I created the flake.nix file in an empty dictionary as instructed in the manual, I launch the command nix shell
in the same dictionary. The terminal asks for confirmation of the configuration setting as in the manual, but after I confirm all setting, the installation failed with the warning:
warning: creating lock file '/home/zhangzj/opt/artiq/flake.lock'
error: opening file '/home/zhangzj/opt/artiq/flake.lock': Permission denied
I also tried using the command nix shell --accept-flake-config --show-trace
to trust all configuration setting and demonstrate the detailed error, and I always get the following error:
`warning: creating lock file '/home/zhangzj/opt/artiq/flake.lock'
error:
… while updating the lock file of flake 'path:/home/zhangzj/opt/artiq?lastModified=1679039554&narHash=sha256-zWoisYlIJTZ5iqPZqCc36%2fmfcbbRcr1rwPxbeXGp+CU='
error: opening file '/home/zhangzj/opt/artiq/flake.lock': Permission denied`
However, there is no flake.lock file created. How should I tackle this problem?