Hello, There is a setup-hook.sh <https://github.com/NixOS/nixpkgs/blob/release-16.03/pkgs/development/tools/build-managers/cmake/setup-hook.sh> for cmake, and there is makeCmakeFIndLibs function definition in this file. The function examines the content of NIX_CFLAGS_COMPILE and if there is a flag starting with *"-I" *it adds it to CMAKE_INCLUDE_PATH. But when I check the content of NIX_FLAGS_COMPILE there are only *"-isystem"* flags (the ones I need), so nothing happens.
Could someone clarify to me what's going on and what am I doing wrong? The goal I'm trying to achieve is to create a build environment for cmake-based project. -- Pavel
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
