hydra: avoid drawing in development dependencies from nix 2.29 on runtime

This commit is contained in:
Sandro Jäckel 2025-06-16 00:40:29 +02:00
parent 52c2d49b65
commit b2d0cbc4a1
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

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 \