I’m using the Actions on https://nixbld.m-labs.hk/build/74249 to build the beta, but I get an error like this:
running nix-build...
using the following invocation:
+ nix-build --arg artiqSrc '{ outPath = tmp_dir/artiqSrc/source; rev = "311a818a490eca8df91defae0e76ff9426e4b741"; shortRev = "311a818"; revCount = 7898; }' -I artiqSrc=tmp_dir/artiqSrc/source --arg nixpkgs '{ outPath = tmp_dir/nixpkgs/source; rev = "b86b6bc5e753919ab4d7c902210234f324d0efa4"; shortRev = "b86b6bc"; revCount = 295928; }' -I nixpkgs=tmp_dir/nixpkgs/source --arg nixScripts '{ outPath = tmp_dir/nixScripts/source; rev = "300ec387e3dd190a9bb11fcc5611d8b93976a698"; shortRev = "300ec38"; revCount = 1279; }' -I nixScripts=tmp_dir/nixScripts/source --option extra-binary-caches https://nixbld.m-labs.hk/ --option system x86_64-linux tmp_dir/nixScripts/source/artiq-fast.nix -A ''
building '/nix/store/23m8hllls9nr0d76snxq8px3c6hv4q43-generated-nix.drv'...
fatal: not a git repository: '/nix/store/19hz62gi4g53g2a3c0sjsqhxf3i66fq8-source/.git'
error: builder for '/nix/store/23m8hllls9nr0d76snxq8px3c6hv4q43-generated-nix.drv' failed with exit code 128
(use '--show-trace' to show detailed location information)
The source checkout, created by the downloaded reproducer script, is in a local directory (I used option —dir=tmp_dir) so I don’t understand why I get the error message concerning nix/store/19hz62
Here is the contents of that directory: it appears to be another artiq source checkout
[nix-shell:/nix/store/19hz62gi4g53g2a3c0sjsqhxf3i66fq8-source]$ ls -a
. CONTRIBUTING.rst MANIFEST.in flake.lock
.. DEVELOPER_NOTES.rst README.rst flake.nix
.github LICENSE RELEASE_NOTES.rst setup.py
.gitignore LICENSE.GPL-3 artiq versioneer.py
BETA MAJOR_VERSION doc
I had the same experience using the reproducer script from nixbld.m-labs.hk/build/67166. (fatal message about git repository)
What I really want to do is build the developer version of artiq, but I had trouble with that, that's why I was looking for more information on Hydra. Unfortunately the Hydra Action "reproducer" script (via https://nixbld.m-labs.hk/jobset/artiq/fast-flakes) appears to not do an actual build but merely populates the localhost with already-built files.
I'll post a different question to the forum about building artiq. Thanks for your support. --Melanie