Don't wrap C++ programs

This commit is contained in:
Eelco Dolstra 2016-03-22 13:35:09 +01:00
parent 4dfbe5c642
commit 1332463b02

View file

@ -158,6 +158,8 @@ rec {
mkdir -p $out/nix-support
for i in $out/bin/*; do
read -n 4 chars < $i
if [[ $chars =~ ELF ]]; then continue; fi
wrapProgram $i \
--prefix PERL5LIB ':' $out/libexec/hydra/lib:$PERL5LIB \
--prefix PATH ':' $out/bin:$hydraPath \
@ -167,7 +169,7 @@ rec {
done
''; # */
separateDebugInfo = true;
dontStrip = true;
meta.description = "Build of Hydra on ${system}";
passthru.perlDeps = perlDeps;