# Pastebin ArgKjTbW ❯ nix-shell -p 'postgresql_12.withPackages (p: [ p.timescaledb ])' warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring these derivations will be built: /nix/store/8w129d1jvxzmx68zq29ri9adv1fsb0vf-timescaledb-2.0.2.drv /nix/store/72xp3jhnz8mp74y3wqzr3q3wc8w8dp0y-postgresql-and-plugins-12.5.drv building '/nix/store/8w129d1jvxzmx68zq29ri9adv1fsb0vf-timescaledb-2.0.2.drv'... unpacking sources unpacking source archive /nix/store/dcd0xrk3j3pkvs8jvzhh5n1bwp2g25ys-source source root is source patching sources configuring fixing cmake files... cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/share/doc/timescaledb -DCMAKE_INSTALL_INFODIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/include -DCMAKE_INSTALL_SBINDIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/kiclfrcdg2lxifq68q7d354dlaqk8136-cctools-binutils-darwin-949.0.1/bin/strip -DCMAKE_RANLIB=/nix/store/kiclfrcdg2lxifq68q7d354dlaqk8136-cctools-binutils-darwin-949.0.1/bin/ranlib -DCMAKE_AR=/nix/store/kiclfrcdg2lxifq68q7d354dlaqk8136-cctools-binutils-darwin-949.0.1/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/90nsn2sil260vgks9p34k6zg6f62mq3c-timescaledb-2.0.2 -DSEND_TELEMETRY_DEFAULT=OFF -DREGRESS_CHECKS=OFF -DWARNINGS_AS_ERRORS=OFF -- The C compiler identification is Clang 7.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/kxx4n980xm8qwkk145jidx8s04005yq7-clang-wrapper-7.1.0/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- TimescaleDB version 2.0.2. Can be updated from version 2.0.1 -- Build type is Release -- Install method is 'source' -- CMAKE_BUILD_TYPE does not match Debug -- Performing Test CC_SUPPORTS_NO_FORMAT_TRUNCATION -- Performing Test CC_SUPPORTS_NO_FORMAT_TRUNCATION - Failed -- Compiler does not support -Wno-format-truncation -- Performing Test CC_STRINGOP_TRUNCATION -- Performing Test CC_STRINGOP_TRUNCATION - Failed -- Compiler does not support -Wno-stringop-truncation -- Performing Test CC_SUPPORTS_IMPLICIT_FALLTHROUGH -- Performing Test CC_SUPPORTS_IMPLICIT_FALLTHROUGH - Success -- Performing Test CC_SUPPORTS_VISIBILITY_HIDDEN -- Performing Test CC_SUPPORTS_VISIBILITY_HIDDEN - Success -- Using compiler Clang -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Using pg_config /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/bin/pg_config -- Compiling against PostgreSQL version 12.5 -- Using local clang-format -- Linter support (clang-tidy) enabled -- Assertion checks are OFF -- Found OpenSSL: /nix/store/x98m491civwbjzwg5jbp7sgk16sd43gq-openssl-1.1.1i/lib/libcrypto.dylib (found version "1.1.1i") -- OPENSSL_LIBRARIES: /nix/store/x98m491civwbjzwg5jbp7sgk16sd43gq-openssl-1.1.1i/lib/libssl.dylib;/nix/store/x98m491civwbjzwg5jbp7sgk16sd43gq-openssl-1.1.1i/lib/libcrypto.dylib -- Using OpenSSL version 1.1.1i -- Using nm /nix/store/kiclfrcdg2lxifq68q7d354dlaqk8136-cctools-binutils-darwin-949.0.1/bin/nm -- Skipping isolation regress checks since program 'pg_regress' was not found -- Skipping isolation regress checks since program 'pg_isolation_regress' was not found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_CXX_COMPILER CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR CMAKE_POLICY_DEFAULT_CMP0025 -- Build files have been written to: /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build cmake: enabled parallel building building build flags: -j8 -l8 SHELL=/nix/store/5y6lcfjghk5kbv4782vi7w79vz60gsyn-bash-4.4-p23/bin/bash Scanning dependencies of target sqlfile Scanning dependencies of target sqlupdatescripts Scanning dependencies of target timescaledb-loader Scanning dependencies of target timescaledb Scanning dependencies of target timescaledb-tsl [ 0%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--2.0.2.sql [ 1%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/updates/post-update.sql.processed [ 1%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--2.0.1--2.0.2.sql [ 1%] Built target sqlfile [ 1%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--2.0.0-rc4--2.0.2.sql [ 2%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--2.0.0--2.0.2.sql [ 3%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--2.0.0-rc3--2.0.2.sql [ 3%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--2.0.0-rc2--2.0.2.sql [ 4%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--2.0.0-rc1--2.0.2.sql [ 4%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.7.5--2.0.2.sql [ 5%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.7.4--2.0.2.sql [ 5%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.7.3--2.0.2.sql [ 6%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.7.2--2.0.2.sql [ 6%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.7.1--2.0.2.sql [ 7%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.7.0--2.0.2.sql [ 7%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.6.1--2.0.2.sql [ 8%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.6.0--2.0.2.sql [ 8%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/loader.c.o [ 9%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/bgw_message_queue.c.o [ 9%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/bgw_counter.c.o [ 9%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.5.1--2.0.2.sql [ 10%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.5.0--2.0.2.sql [ 10%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.4.2--2.0.2.sql [ 11%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.4.1--2.0.2.sql [ 11%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.4.0--2.0.2.sql [ 12%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.3.2--2.0.2.sql [ 12%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.3.1--2.0.2.sql [ 14%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.3.0--2.0.2.sql [ 14%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/bgw_launcher.c.o [ 14%] Building C object src/loader/CMakeFiles/timescaledb-loader.dir/bgw_interface.c.o [ 14%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.2.2--2.0.2.sql /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/loader/bgw_message_queue.c. 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/loader/loader.c. /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/loader/bgw_counter.c. make[2]: *** [src/loader/CMakeFiles/timescaledb-loader.dir/build.make:108: src/loader/CMakeFiles/timescaledb-loader.dir/bgw_counter.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [src/loader/CMakeFiles/timescaledb-loader.dir/build.make:95: src/loader/CMakeFiles/timescaledb-loader.dir/bgw_message_queue.c.o] Error 1 make[2]: *** [src/loader/CMakeFiles/timescaledb-loader.dir/build.make:82: src/loader/CMakeFiles/timescaledb-loader.dir/loader.c.o] Error 1 /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/loader/bgw_launcher.c. make[2]: *** [src/loader/CMakeFiles/timescaledb-loader.dir/build.make:121: src/loader/CMakeFiles/timescaledb-loader.dir/bgw_launcher.c.o] Error 1 [ 15%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.2.1--2.0.2.sql [ 15%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.2.0--2.0.2.sql [ 16%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.1.1--2.0.2.sql [ 16%] Generating /tmp/nix-build-timescaledb-2.0.2.drv-0/source/build/sql/timescaledb--1.1.0--2.0.2.sql /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/loader/bgw_interface.c. make[2]: *** [src/loader/CMakeFiles/timescaledb-loader.dir/build.make:134: src/loader/CMakeFiles/timescaledb-loader.dir/bgw_interface.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:977: src/loader/CMakeFiles/timescaledb-loader.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 16%] Built target sqlupdatescripts [ 17%] Building C object src/CMakeFiles/timescaledb.dir/agg_bookend.c.o [ 17%] Building C object src/CMakeFiles/timescaledb.dir/cache.c.o [ 17%] Building C object src/CMakeFiles/timescaledb.dir/func_cache.c.o [ 18%] Building C object src/CMakeFiles/timescaledb.dir/catalog.c.o [ 18%] Building C object src/CMakeFiles/timescaledb.dir/cache_invalidate.c.o [ 19%] Building C object src/CMakeFiles/timescaledb.dir/continuous_agg.c.o [ 19%] Building C object src/CMakeFiles/timescaledb.dir/chunk.c.o [ 19%] Building C object tsl/src/CMakeFiles/timescaledb-tsl.dir/async_append.c.o /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/catalog.c. 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/func_cache.c. /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/cache.c. make[2]: *** [src/CMakeFiles/timescaledb.dir/build.make:134: src/CMakeFiles/timescaledb.dir/catalog.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [src/CMakeFiles/timescaledb.dir/build.make:95: src/CMakeFiles/timescaledb.dir/func_cache.c.o] Error 1 make[2]: *** [src/CMakeFiles/timescaledb.dir/build.make:108: src/CMakeFiles/timescaledb.dir/cache.c.o] Error 1 /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/cache_invalidate.c. /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/continuous_agg.c. make[2]: *** [src/CMakeFiles/timescaledb.dir/build.make:147: src/CMakeFiles/timescaledb.dir/continuous_agg.c.o] Error 1 make[2]: *** [src/CMakeFiles/timescaledb.dir/build.make:121: src/CMakeFiles/timescaledb.dir/cache_invalidate.c.o] Error 1 /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/agg_bookend.c. make[2]: *** [src/CMakeFiles/timescaledb.dir/build.make:82: src/CMakeFiles/timescaledb.dir/agg_bookend.c.o] Error 1 /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/src/chunk.c. make[2]: *** [src/CMakeFiles/timescaledb.dir/build.make:160: src/CMakeFiles/timescaledb.dir/chunk.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:950: src/CMakeFiles/timescaledb.dir/all] Error 2 [ 20%] Building C object tsl/src/CMakeFiles/timescaledb-tsl.dir/chunk_api.c.o [ 20%] Building C object tsl/src/CMakeFiles/timescaledb-tsl.dir/chunk.c.o [ 21%] Building C object tsl/src/CMakeFiles/timescaledb-tsl.dir/data_node.c.o [ 21%] Building C object tsl/src/CMakeFiles/timescaledb-tsl.dir/data_node_dispatch.c.o [ 22%] Building C object tsl/src/CMakeFiles/timescaledb-tsl.dir/dist_util.c.o [ 22%] Building C object tsl/src/CMakeFiles/timescaledb-tsl.dir/deparse.c.o [ 23%] Building C object tsl/src/CMakeFiles/timescaledb-tsl.dir/hypertable.c.o /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/tsl/src/async_append.c. make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/build.make:82: tsl/src/CMakeFiles/timescaledb-tsl.dir/async_append.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/tsl/src/deparse.c. /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/tsl/src/chunk.c. /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/tsl/src/data_node_dispatch.c. make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/build.make:147: tsl/src/CMakeFiles/timescaledb-tsl.dir/deparse.c.o] Error 1 make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/build.make:108: tsl/src/CMakeFiles/timescaledb-tsl.dir/chunk.c.o] Error 1 make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/build.make:134: tsl/src/CMakeFiles/timescaledb-tsl.dir/data_node_dispatch.c.o] Error 1 /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/tsl/src/dist_util.c. /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/tsl/src/hypertable.c. make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/build.make:173: tsl/src/CMakeFiles/timescaledb-tsl.dir/hypertable.c.o] Error 1 make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/build.make:160: tsl/src/CMakeFiles/timescaledb-tsl.dir/dist_util.c.o] Error 1 /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/tsl/src/data_node.c. make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/build.make:121: tsl/src/CMakeFiles/timescaledb-tsl.dir/data_node.c.o] Error 1 /nix/store/wgjfsiwbj1hqjmaynkh3k9iv8nmcyyna-postgresql-12.5/include/server/c.h:59:10: error: 'stdio.h' file not found [clang-diagnostic-error] #include ^ 1 error generated. Error while processing /tmp/nix-build-timescaledb-2.0.2.drv-0/source/tsl/src/chunk_api.c. make[2]: *** [tsl/src/CMakeFiles/timescaledb-tsl.dir/build.make:95: tsl/src/CMakeFiles/timescaledb-tsl.dir/chunk_api.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1058: tsl/src/CMakeFiles/timescaledb-tsl.dir/all] Error 2 make: *** [Makefile:149: all] Error 2 builder for '/nix/store/8w129d1jvxzmx68zq29ri9adv1fsb0vf-timescaledb-2.0.2.drv' failed with exit code 2 cannot build derivation '/nix/store/72xp3jhnz8mp74y3wqzr3q3wc8w8dp0y-postgresql-and-plugins-12.5.drv': 1 dependencies couldn't be built error: build of '/nix/store/72xp3jhnz8mp74y3wqzr3q3wc8w8dp0y-postgresql-and-plugins-12.5.drv' failed