hydra: improve structuredAttrs support

Previously the ldap tests were failing.
Putting them in the env attribute set ensures the tests now pass.
This commit is contained in:
Rick van Schijndel
2024-09-06 08:00:50 +02:00
parent 94f43b3473
commit 97db9d0692
+4 -3
View File
@@ -194,9 +194,10 @@ stdenv.mkDerivation (finalAttrs: {
configureFlags = [ "--with-docbook-xsl=${docbook_xsl}/xml/xsl/docbook" ];
env.NIX_CFLAGS_COMPILE = "-pthread";
OPENLDAP_ROOT = openldap;
env = {
NIX_CFLAGS_COMPILE = "-pthread";
OPENLDAP_ROOT = openldap;
};
shellHook = ''
PATH=$(pwd)/src/script:$(pwd)/src/hydra-eval-jobs:$(pwd)/src/hydra-queue-runner:$(pwd)/src/hydra-evaluator:$PATH