cc-wrapper-test: Use $CXX else the C++ std lib won't be on the include path

This commit is contained in:
John Ericson 2017-07-27 15:36:51 -04:00 committed by John Ericson
parent a9dd855894
commit eeed1814dc

View File

@ -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 = ''