Downloading NixOS Hydra Builds gives Status 500: '"Can't use string ("1") as a HASH ref while "strict refs" in use'
bug
**Describe the bug**
Apologies if this is the wrong place to report this to, I was not sure where to go with this as the NixOS Hydra site did not seem to have a link for reports or contact.
When downloading a Prxomox LXC tarball from the Hydra web UI, I was greeted with a Status 500, and the error:
```
Caught exception in Hydra::Controller::Build->download "Can't use string ("1") as a HASH ref while "strict refs" in use at /nix/store/fqzzhlh61bfajac51vgcbwbcw6fi5k7x-hydra-0.1.20250830.8481acd/libexec/hydra/lib/Hydra/Controller/Build.pm line 218."
```
After some more testing, this seems to be the case even for other tarballs, such as a 25.05-small one.
This happens on my laptops, and phone, even when connected to cellular data. This prevents the download of any system tarballs through Hydra.
**To Reproduce**
1. Go to https://hydra.nixos.org/project/nixos
2. Navigate to any build
3. Click on the download link for the system tarball
4. See error
**Expected behavior**
The tarball should be downloaded after a few redirects.
**Screenshots**
<img width="1810" height="347" alt="Image" src="https://github.com/user-attachments/assets/15db3638-5a71-425b-a94f-03b8afa6b4a2" />
关闭于 2025-09-13 7 条评论