forked from lix-project/hydra
Don't wrap C++ programs
This commit is contained in:
parent
4dfbe5c642
commit
1332463b02
|
@ -158,6 +158,8 @@ rec {
|
||||||
mkdir -p $out/nix-support
|
mkdir -p $out/nix-support
|
||||||
|
|
||||||
for i in $out/bin/*; do
|
for i in $out/bin/*; do
|
||||||
|
read -n 4 chars < $i
|
||||||
|
if [[ $chars =~ ELF ]]; then continue; fi
|
||||||
wrapProgram $i \
|
wrapProgram $i \
|
||||||
--prefix PERL5LIB ':' $out/libexec/hydra/lib:$PERL5LIB \
|
--prefix PERL5LIB ':' $out/libexec/hydra/lib:$PERL5LIB \
|
||||||
--prefix PATH ':' $out/bin:$hydraPath \
|
--prefix PATH ':' $out/bin:$hydraPath \
|
||||||
|
@ -167,7 +169,7 @@ rec {
|
||||||
done
|
done
|
||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
separateDebugInfo = true;
|
dontStrip = true;
|
||||||
|
|
||||||
meta.description = "Build of Hydra on ${system}";
|
meta.description = "Build of Hydra on ${system}";
|
||||||
passthru.perlDeps = perlDeps;
|
passthru.perlDeps = perlDeps;
|
||||||
|
|
Loading…
Reference in a new issue