From 82c5a2b62eed1ab585eeb2694b6327ccf09c423b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 23 Feb 2023 09:59:44 +0000 Subject: [PATCH] sssd: disable parallel installs Without the change parallel install fails as: install flags: -j16 ... libbtool: error: error: relink '_py3sss.la' with the above command before installing it libtool: warning: '/build/source/libsss_cert.la' has not been installed in '/nix/store/apyk9a6q7bc7d1fnn81vqrwil4waw9cd-sssd-2.8.2/lib/sssd' make[3]: *** [Makefile:13362: install-py3execLTLIBRARIES] Error 1 --- pkgs/os-specific/linux/sssd/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/sssd/default.nix b/pkgs/os-specific/linux/sssd/default.nix index 328098dbea33..b56748a94697 100644 --- a/pkgs/os-specific/linux/sssd/default.nix +++ b/pkgs/os-specific/linux/sssd/default.nix @@ -54,6 +54,9 @@ stdenv.mkDerivation rec { ''; enableParallelBuilding = true; + # Disable parallel install due to missing depends: + # libtool: error: error: relink '_py3sss.la' with the above command before installing i + enableParallelInstalling = false; nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config doxygen ]; buildInputs = [ augeas dnsutils c-ares curl cyrus_sasl ding-libs libnl libunistring nss samba nfs-utils p11-kit python3 popt