net-snmp: disable install parallelism

Without the change install phase fails as:

    installing
    install flags: -j16 ...
    ...
    ./.libs/libnetsnmpagent.so: file not recognized: file format not recognized
    collect2: error: ld returned 1 exit status
    make[1]: *** [Makefile:1012: libnetsnmpmibs.la] Error 1
    make[1]: *** Waiting for unfinished jobs....
This commit is contained in:
Sergei Trofimovich 2023-02-22 23:51:49 +00:00
parent 69cf5181c3
commit 8a99bbab44

View file

@ -49,6 +49,9 @@ in stdenv.mkDerivation rec {
++ lib.optional withPerlTools perlWithPkgs;
enableParallelBuilding = true;
# Missing dependencies during relinking:
# ./.libs/libnetsnmpagent.so: file not recognized: file format not recognized
enableParallelInstalling = false;
doCheck = false; # tries to use networking
postInstall = ''