mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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 New Issue
Block a user