From eeed1814dc84121f81fc6214a26f1adffc41581c Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 27 Jul 2017 15:36:51 -0400 Subject: [PATCH] cc-wrapper-test: Use `$CXX` else the C++ std lib won't be on the include path --- pkgs/test/macos-sierra-shared/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/test/macos-sierra-shared/default.nix b/pkgs/test/macos-sierra-shared/default.nix index e96fdb34c05f..690d09414fbd 100644 --- a/pkgs/test/macos-sierra-shared/default.nix +++ b/pkgs/test/macos-sierra-shared/default.nix @@ -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 = ''