fixing libtool script ./ltmain.sh configure flags: --disable-dependency-tracking --prefix=/tmp/nix-build-xxklvw38ckqvg39l19sjmax407n2c0g8-source-tarball.drv-0/tmp_prefix --prefix=/tmp/nix-build-xxklvw38ckqvg39l19sjmax407n2c0g8-source-tarball.drv-0/tmp_prefix checking for a BSD-compatible install... /nix/store/cwf53pwwkfjnay3bidd0wy6spgb7cw6q-coreutils-6.10/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for pkg-config... /nix/store/i135sfzqm5ppwf4lj9g7n6irbpnnd24r-pkgconfig-0.22/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether CFLAGS is set... no checking if PKG_CONFIG_PATH needs to be extended for bundled packages... no checking whether location of asf-support is explicitly set using --with-asf-support... no checking whether location of aterm is explicitly set using --with-aterm... no checking whether location of error-support is explicitly set using --with-error-support... no checking whether location of pt-support is explicitly set using --with-pt-support... no checking whether location of sglr is explicitly set using --with-sglr... no checking whether location of tide-support is explicitly set using --with-tide-support... no checking whether location of toolbuslib is explicitly set using --with-toolbuslib... no checking whether location of c-library is explicitly set using --with-c-library... no checking whether location of config-support is explicitly set using --with-config-support... no checking whether location of ptable-support is explicitly set using --with-ptable-support... no checking whether location of rstore-support is explicitly set using --with-rstore-support... no checking for ASF_SUPPORT... yes checking for ATERM... yes checking for ERROR_SUPPORT... yes checking for PT_SUPPORT... yes checking for SGLR... yes checking for TIDE_SUPPORT... yes checking for TOOLBUSLIB... yes checking for C_LIBRARY... yes checking for CONFIG_SUPPORT... yes checking for PTABLE_SUPPORT... yes checking for RSTORE_SUPPORT... configure: error: Package requirements (rstore-support) were not met: No package 'rstore-support' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables RSTORE_SUPPORT_CFLAGS and RSTORE_SUPPORT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.