diff options
Diffstat (limited to 'pkgs/development/tools/misc/hydra/unstable.nix')
-rw-r--r-- | pkgs/development/tools/misc/hydra/unstable.nix | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/pkgs/development/tools/misc/hydra/unstable.nix b/pkgs/development/tools/misc/hydra/unstable.nix index 36de9f886c1..709af8f4485 100644 --- a/pkgs/development/tools/misc/hydra/unstable.nix +++ b/pkgs/development/tools/misc/hydra/unstable.nix @@ -4,13 +4,11 @@ , perlPackages , buildEnv , makeWrapper -, autoconf -, automake , libtool , unzip , pkg-config , sqlite -, libpqxx_6 +, libpqxx , top-git , mercurial , darcs @@ -21,12 +19,14 @@ , libxslt , perl , postgresql +, prometheus-cpp , nukeReferences , git , boehmgc , nlohmann_json , docbook_xsl , openssh +, openldap , gnused , coreutils , findutils @@ -55,7 +55,6 @@ let name = "hydra-perl-deps"; paths = with perlPackages; lib.closePropagation [ - ModulePluggable AuthenSASL CatalystActionREST CatalystAuthenticationStoreDBIxClass @@ -114,12 +113,12 @@ let TermReadKey Test2Harness TestPostgreSQL + TestSimple13 TextDiff TextTable UUID4Tiny XMLSimple YAML - nix nix.perl-bindings git ]; @@ -127,23 +126,20 @@ let in stdenv.mkDerivation rec { pname = "hydra"; - version = "2022-02-07"; + version = "2022-05-03"; src = fetchFromGitHub { owner = "NixOS"; repo = "hydra"; - rev = "517dce285a851efd732affc084c7083aed2e98cd"; - sha256 = "sha256-abWhd/VLNse3Gz7gcVbFANJLAhHV4nbOKjhVDmq/Zmg="; + rev = "7c133a98f8e689cdc13f8a1adaaa9cd75d039a35"; + sha256 = "sha256-LqBLIXYssvDoSp2Hf2+vDDB9O8VSF48HAGwL8pI2WZY="; }; + patches = [ ./eval.patch ]; + buildInputs = [ - makeWrapper - libtool - unzip - nukeReferences - sqlite - libpqxx_6 + libpqxx top-git mercurial darcs @@ -152,18 +148,18 @@ stdenv.mkDerivation rec { openssl bzip2 libxslt + nix perlDeps perl - nix - postgresql # for running the tests - nlohmann_json - boost pixz + boost + postgresql + nlohmann_json + prometheus-cpp ]; hydraPath = lib.makeBinPath ( [ - sqlite subversion openssh nix @@ -177,13 +173,21 @@ stdenv.mkDerivation rec { unzip git top-git - mercurial /*darcs*/ + mercurial + darcs gnused breezy ] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] ); - nativeBuildInputs = [ autoreconfHook pkg-config mdbook autoconf automake ]; + nativeBuildInputs = [ + autoreconfHook + makeWrapper + pkg-config + mdbook + unzip + nukeReferences + ]; checkInputs = [ cacert @@ -191,21 +195,15 @@ stdenv.mkDerivation rec { glibcLocales python3 libressl.nc - ]; - - patches = [ - ./eval.patch - ./missing-std-string.patch - (fetchpatch { - url = "https://github.com/NixOS/hydra/commit/5ae26aa7604f714dcc73edcb74fe71ddc8957f6c.patch"; - sha256 = "sha256-wkbWo8SFbT3qwVxwkKQWpQT5Jgb1Bb51yiLTlFdDN/I="; - }) + openldap ]; configureFlags = [ "--with-docbook-xsl=${docbook_xsl}/xml/xsl/docbook" ]; 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 PERL5LIB=$(pwd)/src/lib:$PERL5LIB; @@ -218,6 +216,8 @@ stdenv.mkDerivation rec { export LOGNAME=''${LOGNAME:-foo} # set $HOME for bzr so it can create its trace file export HOME=$(mktemp -d) + # remove flaky test + rm t/Hydra/Controller/User/ldap-legacy.t ''; postInstall = '' @@ -239,7 +239,7 @@ stdenv.mkDerivation rec { doCheck = true; passthru = { - inherit perlDeps; + inherit nix perlDeps; tests.basic = nixosTests.hydra.hydra_unstable; }; |