preHook -> shellHook

Adding the build directory to $PERL5LIB causes it to end up in the
wrapper scripts, which is bad.
This commit is contained in:
Eelco Dolstra 2017-05-04 15:25:22 +02:00
parent 1f94f03699
commit 8abc595d1c
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -146,7 +146,7 @@ rec {
configureFlags = [ "--with-docbook-xsl=${docbook_xsl}/xml/xsl/docbook" ];
preHook = ''
shellHook = ''
PATH=$(pwd)/src/hydra-evaluator:$(pwd)/src/script:$(pwd)/src/hydra-eval-jobs:$(pwd)/src/hydra-queue-runner:$PATH
PERL5LIB=$(pwd)/src/lib:$PERL5LIB;
'';