-
-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
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
Hydra fails at runtime due to buildPerlPackage changes #72783
Comments
It has no effect since system-wide $PERL5LIB removed more than an year ago
The overall issue might be solved in the Perl infrastructure of nixpkgs, however I experienced exactly this when I prepared a Hydra bump last weekend (but lacked time to dig in). I'll prepare a PR to unbreak Hydra now, but don't have a strong opinion about how to fix this perl-wide. |
|
Thanks a lot for the insights @volth!
I actually tried to add all transitive perl dependencies of Hydra, but this escalated pretty quickly and I decided that this isn't a feasible approach since tracking the entire dependency graph makes the package IMHO rather hard to maintain.
Agreed. This revert would cause a pretty big rebuild and I just don't think that's worth the effort. IMHO it would be fine to add As release isn't affected I'd also be fine to wait until the third solution works fine for us though. |
…tion Hydra fails to start on recent recent nixpkgs due to a change in Perl packaging: this has been reported in NixOS#72783. @conferno in that thread suggested using lib.closePropagation as a fix, which is apparently deprecated, but works for now.
…tion Hydra fails to start on recent recent nixpkgs due to a change in Perl packaging: this has been reported in NixOS#72783. @conferno in that thread suggested using lib.closePropagation as a fix, which is apparently deprecated, but works for now. (cherry picked from commit 8acf340)
ZHF: NixOS#80379 https://hydra.nixos.org/build/113061284 Added requiredPerlModules as suggested for similar problem as described for similar problem here: NixOS#72783 (comment)
ZHF: #80379 https://hydra.nixos.org/build/113061284 Added requiredPerlModules as suggested for similar problem as described for similar problem here: #72783 (comment)
ZHF: NixOS#80379 https://hydra.nixos.org/build/113061284 Added requiredPerlModules as suggested for similar problem as described for similar problem here: NixOS#72783 (comment) (cherry picked from commit 3e50e26)
This should be fixed, at least with #83600 or probably even earlier. I'm currently running Hydra on 20.03 without any issues now. If you encounter further issues, feel free to ping me to reopen! |
ZHF: NixOS#80379 https://hydra.nixos.org/build/113061284 Added requiredPerlModules as suggested for similar problem as described for similar problem here: NixOS#72783 (comment) (cherry picked from commit 3e50e26)
Describe the bug
Hydra fails at runtime due to missing transitive dependencies. This occurs because 9e60fef removed
nix-support/propagated-user-env-packages
from all Perl packages. Hydra usesbuildEnv
to create an environment with all its Perl packages, andpropagated-user-env-packages
used to cause all the transitive dependencies to be pulled into the environment, but this no longer happens.As suggested by @conferno, I tried replacing
buildEnv
withperl.withPackages
, but this does not work because the Perl wrapper clobbersPERL5LIB
, which prevents Hydra from adding its own Perl files toPERL5LIB
.To Reproduce
Steps to reproduce the behavior:
Maintainer information:
cc @volth @Ma27
The text was updated successfully, but these errors were encountered: