From 8abc595d1c95cc4adf9d1e81cdd1b187731c3de3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 4 May 2017 15:25:22 +0200 Subject: [PATCH] preHook -> shellHook Adding the build directory to $PERL5LIB causes it to end up in the wrapper scripts, which is bad. --- release.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.nix b/release.nix index 07a4f14e..0a83e044 100644 --- a/release.nix +++ b/release.nix @@ -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; '';