about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/hydra
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2019-02-10 14:14:33 +0100
committerVladimír Čunát <vcunat@gmail.com>2019-02-10 14:14:33 +0100
commit64edccb463432a937f00943db22a8cd36245ec27 (patch)
tree6499b5f0454b491ffd427b08d69e9e3d1ad4a480 /pkgs/development/tools/misc/hydra
parent7455889641b3f20a974d2cb0467723c6a07dae0e (diff)
downloadnixlib-64edccb463432a937f00943db22a8cd36245ec27.tar
nixlib-64edccb463432a937f00943db22a8cd36245ec27.tar.gz
nixlib-64edccb463432a937f00943db22a8cd36245ec27.tar.bz2
nixlib-64edccb463432a937f00943db22a8cd36245ec27.tar.lz
nixlib-64edccb463432a937f00943db22a8cd36245ec27.tar.xz
nixlib-64edccb463432a937f00943db22a8cd36245ec27.tar.zst
nixlib-64edccb463432a937f00943db22a8cd36245ec27.zip
treewide: fix missing libs after libtool pruning #51767
Diffstat (limited to 'pkgs/development/tools/misc/hydra')
-rw-r--r--pkgs/development/tools/misc/hydra/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/hydra/default.nix b/pkgs/development/tools/misc/hydra/default.nix
index 00f679cfdac8..67e353868fd6 100644
--- a/pkgs/development/tools/misc/hydra/default.nix
+++ b/pkgs/development/tools/misc/hydra/default.nix
@@ -87,7 +87,7 @@ in releaseTools.nixBuild rec {
   };
 
   buildInputs =
-    [ makeWrapper autoconf automake libtool unzip nukeReferences pkgconfig sqlite libpqxx
+    [ makeWrapper autoconf automake libtool unzip nukeReferences sqlite libpqxx
       gitAndTools.topGit mercurial darcs subversion bazaar openssl bzip2 libxslt
       guile # optional, for Guile + Guix support
       perlDeps perl nix
@@ -100,7 +100,7 @@ in releaseTools.nixBuild rec {
       gzip bzip2 lzma gnutar unzip git gitAndTools.topGit mercurial darcs gnused bazaar
     ] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] );
 
-  nativeBuildInputs = [ autoreconfHook ];
+  nativeBuildInputs = [ autoreconfHook pkgconfig ];
 
   # adds a patch which ensures compatibility with the API of Nix 2.0.
   # it has been reverted in https://github.com/NixOS/hydra/commit/162d671c48a418bd10a8a171ca36787ef3695a44,
@@ -114,6 +114,8 @@ in releaseTools.nixBuild rec {
 
   configureFlags = [ "--with-docbook-xsl=${docbook_xsl}/xml/xsl/docbook" ];
 
+  NIX_CFLAGS_COMPILE = [ "-pthread" ];
+
   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;