treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
This commit is contained in:
@@ -44,7 +44,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [ docutils pytestCheckHook ];
|
||||
|
||||
LLVM = llvm;
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-isystem ${lib.getDev libcxx}/include/c++/v1";
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-isystem ${lib.getDev libcxx}/include/c++/v1";
|
||||
|
||||
# test suite is very cpu intensive, only run small subset to ensure package is working as expected
|
||||
pytestFlagsArray = [ "tests/test-sets.py" ];
|
||||
|
||||
Reference in New Issue
Block a user