hydra: avoid drawing in development dependencies from nix 2.29 on runtime (#417078)

This commit is contained in:
Sandro 2025-07-01 17:35:04 +02:00 committed by GitHub
commit 1edcacc942
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -239,7 +239,7 @@ stdenv.mkDerivation (finalAttrs: {
read -n 4 chars < $i
if [[ $chars =~ ELF ]]; then continue; fi
wrapProgram $i \
--prefix PERL5LIB ':' $out/libexec/hydra/lib:$PERL5LIB \
--prefix PERL5LIB ':' "$out/libexec/hydra/lib:${perlPackages.makePerlPath [ perlDeps ]}" \
--prefix PATH ':' $out/bin:$hydraPath \
--set-default HYDRA_RELEASE ${finalAttrs.version} \
--set HYDRA_HOME $out/libexec/hydra \