forked from mirrors/nixpkgs
cc-wrapper-test: Use $CXX
else the C++ std lib won't be on the include path
This commit is contained in:
parent
a9dd855894
commit
eeed1814dc
|
@ -53,7 +53,7 @@ let
|
|||
EOF
|
||||
'';
|
||||
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;
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue