We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compress_num_threads
Describe the bug If the option compress_num_threads is set multiple times in the hydra configurations, hydra is no more able to serve the cache.
From the service logs:
hydra-server[896354]: sh: -c: line 1: syntax error near unexpected token `(' hydra-server[896354]: sh: -c: line 1: `nix-store --dump '/nix/store/hzlywcjdlr0n0nibcrfm9x5hh58nvzqb-src' | pixz -0 -pARRAY(0x4a06e50)'
while running this command from a client:
$ curl https://yourhydra.nix/nar/hzlywcjdlr0n0nibcrfm9x5hh58nvzqb-src --output derivation.bundle
The point of the hydra code that throws that error is this one.
It seems that if a field is declared more times in the configuration, the value of the field in the configuration becomes a list.
This bug happens every time the field compress_num_threads is set, because the hydra repository module always set a value for this field.
To Reproduce Steps to reproduce the behavior:
Expected behavior The cache should be served successfully, honoring the last value declared.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
If the option
compress_num_threads
is set multiple times in the hydra configurations, hydra is no more able to serve the cache.From the service logs:
while running this command from a client:
The point of the hydra code that throws that error is this one.
It seems that if a field is declared more times in the configuration, the value of the field in the configuration becomes a list.
This bug happens every time the field
compress_num_threads
is set, because the hydra repository module always set a value for this field.To Reproduce
Steps to reproduce the behavior:
compress_num_threads
declared twice.Expected behavior
The cache should be served successfully, honoring the last value declared.
The text was updated successfully, but these errors were encountered: