Running nix develop
now seems to fail on release-7 branch.
#289
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#289
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have previously managed to build artiq-zynq but having returned to it recently, I'm seeing the following errors. This is on a clean checkout of the release-7 branch and a brand new Nix installation. I thought I might have corrupted something in my nix env so tried a fresh installation.
This seems to be due to a difference in the
flake.lock
file formisoc
. If I update thenarHash
field formisoc
to the expected value, then it all Just Works.My Nix knowledge is non-existent so I have no idea how that lock file is constructed. Deleting it and rebuilding didn't help.
I tried also a clean checkout of
release-7
branch, but have not encountered the issue. Can you share the the contents of yourflake.lock
file before you update it?Sorry, I missed your post.
The contents of
flake.lock
are unmodified from the HEAD of the branch. I'm using nix 2.21.1A
nix store gc
didn't help. Are there any other usefulnix
commands to clean and start from a fresh build?I managed to reproduce this using the latest
nix 2.22.0
. It seems this is related on the changes in supporting submodules as a nix flake input. Will check on how it is implemented now and submit a PR. In the meantime, the simplest workaround is to revert tonix 2.18
.Hi @shareef. I tested again and followed the troubleshooting steps indicated here:
I was able to avoid those NAR mismatch errors and run ARTIQ without changing anything in the source code.
You might need to reboot your machine for the configuration to take effect.