unnethack: disable build parallelism

Without the change the build fails occasionally as:

    gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2  -c ./../sys/unix/unixmain.c
    ./../sys/unix/unixmain.c:9:10: fatal error: date.h: No such file or directory
        9 | #include "date.h"
          |          ^~~~~~~~
This commit is contained in:
Sergei Trofimovich 2023-03-09 23:12:31 +00:00
parent ea1110eb59
commit ef50d32769

View file

@ -33,7 +33,11 @@ stdenv.mkDerivation rec {
})
];
enableParallelBuilding = true;
# Fails the build occasionally due to missing buid depends:
# ./../sys/unix/unixmain.c:9:10: fatal error: date.h: No such file or directory
# TODO: remove once upstream issue is fixed:
# https://github.com/UnNetHack/UnNetHack/issues/56
enableParallelBuilding = false;
postInstall = ''
cp -r /tmp/unnethack $out/share/unnethack/profile