cc-wrapper-test: Use $CXX else the C++ std lib won't be on the include path
This commit is contained in:
committed by
John Ericson
parent
a9dd855894
commit
eeed1814dc
@@ -53,7 +53,7 @@ let
|
|||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
$CC -std=c++11 main.cxx ${toString (map (x: "-l${x.name}") sillyLibs)} -o asdf
|
$CXX -std=c++11 main.cxx ${toString (map (x: "-l${x.name}") sillyLibs)} -o asdf
|
||||||
'';
|
'';
|
||||||
buildInputs = sillyLibs;
|
buildInputs = sillyLibs;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user